home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_gs / NEWS.{_4 < prev    next >
Text File  |  1999-09-17  |  196KB  |  5,154 lines

  1.    Copyright (C) 1989, 1996, 1997 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of GNU Ghostscript.
  4.   
  5.   GNU Ghostscript is distributed in the hope that it will be useful, but
  6.   WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility to
  7.   anyone for the consequences of using it or for whether it serves any
  8.   particular purpose or works at all, unless he says so in writing.  Refer to
  9.   the GNU General Public License for full details.
  10.   
  11.   Everyone is granted permission to copy, modify and redistribute GNU
  12.   Ghostscript, but only under the conditions described in the GNU General
  13.   Public License.  A copy of this license is supposed to have been given to
  14.   you along with GNU Ghostscript so you can know your rights and
  15.   responsibilities.  It should be in a file named COPYING.  Among other
  16.   things, the copyright notice and this notice must be preserved on all
  17.   copies.
  18.   
  19.   Aladdin Enterprises is not affiliated with the Free Software Foundation or
  20.   the GNU Project.  GNU Ghostscript, as distributed by Aladdin Enterprises,
  21.   does not depend on any other GNU software.
  22.  
  23. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  24.  
  25. This file, NEWS, describes the changes in the most recent releases of
  26. Ghostscript.  Changes in older releases are described in history*.txt.
  27.  
  28. For an overview of Ghostscript and a list of the documentation files, see
  29. README.
  30.  
  31. Within each release, news appears in the following order: Documentation,
  32. Procedures, Utilities, Drivers, Platforms, Fonts, Interpreter, Streams
  33. (included under Interpreter through release 2.9.9), Library.  Changes marked
  34. with a * were made available as patches to a previous release.
  35.  
  36. Version 5.10 (112/17/1998)
  37. =======================
  38.  
  39. This release, not originally planned, greatly reduces the size of PDF files
  40. produced by the pdfwrite device, fixes a number of minor problems in PDF
  41. output, and optionally produces output compatible with Acrobat 2.x, in order
  42. to address problems reported by NSF in processing these files as part of
  43. their FastLane electronic proposal submission process.  Aside from that, and
  44. some localized bug fixes, it has minimal changes from 5.03.
  45.  
  46. Known problems:
  47.     - ps2pdf sometimes produces output with links in an incorrect
  48. format (k/index.*) or missing or inactive links (k/rahtz/foo.ps).
  49.     - Setting HWSize by itself with setpagedevice has no effect.
  50.     - When shrinking oversize halftone cells, the current algorithm,
  51. which progressively halves the size, can produce non-monotonic behavior; GS
  52. should either use a monotonic algorithm or give a limitcheck.
  53. (k/jdscreen.ps)
  54.     - In Type 1 fonts, almost-vertical lines that straddle a stem edge
  55. produce uneven output.
  56.     - flushfile with a procedure-target stream doesn't pass the buffered
  57. data to the procedure.
  58.     - At some resolutions, gaps occur in some character outlines with
  59. certain Type 1 fonts.  (? - no test file)
  60.     - The Watcom MS Windows makefile (watcw32.mak) doesn't work.
  61.     - The uniprint driver sometimes drops some output, and is very slow
  62. at 720x720 resolution.
  63.     - pdf2ps can't handle embedded TrueType and CFF fonts: it produces
  64. invalid output.  (k/tjava8.pdf, p. 192)
  65.     - pdf2ps can't handle Patterns.  (k/nissl.pdf)
  66.     - pdf2ps can't handle embedded fonts with CharProcs (characters
  67. defined by PDF objects).  (k/be/iguide_unix.pdf)
  68.     - pdf2ps has other, undefined problems.  (k/gfreeman/ps2.*,
  69. qsshort.*, wallp3.*)
  70.     - [e]pswrite core-dumps on certain files if GC is enabled.  Work
  71. around this by including -dNOGC on the command line.  (k/spong.pdf)
  72.     - [e]pswrite can't handle Patterns.  (k/gfreeman/overpart.ps)
  73.     - [e]pswrite may produce incorrect line widths for stroked graphics.
  74. (k/gfreeman/walpart2.ps)
  75.     - Halftones look relatively coarse: we should be using a small-scale
  76. version of AccurateScreens (multiple small dot cells with an ordered dither
  77. cell visiting pattern) to get both fine screens and many levels.
  78.     - Since the x11alpha device uses saturation to emulate alpha,
  79. writing anti-aliased objects over dark areas produces incorrect output.
  80. (gdevxalt.c)
  81.     - Setting OutputFile=- should redirect stdout to stderr (or provide
  82. some other way to redirect stdout).
  83.     - Type 0 (Japanese / Chinese / ...) fonts are not supported in PDF
  84. files.  (k/microw-j.pdf)
  85.     - Ghostscript can't load TrueType fonts where the amount of data
  86. either before or after the glyf section exceeds 64K.  (k/baueti__.ttf)
  87.     - Ghostscript can't load TrueType fonts where the total data is more
  88. than 64K and the offset or length of the glyfs is odd.
  89.     - High-level output devices ([e]pswrite, pdfwrite, pxl*) always
  90. produce a single output file rather than a separate file for each page, even
  91. if there is a %d in the OutputFile name.
  92.     - ps2pdf doesn't handle the Distiller 3.0 named objects and BP/EP/SP
  93. pdfmarks.  (k/pdfmark3.ps)
  94.  
  95. Documentation
  96. -------------
  97.  
  98. Fixes bugs:
  99.     - ansihead.mak referred to unix-ansi.mak, which is actually named
  100. unixansi.mak.  (ansihead.mak)
  101.     - README referred to an "If you need help" section that was moved to
  102. new-user.txt.  (README)
  103.  
  104. Updates build information for HP-UX systems.  (make.txt)
  105.  
  106. Updates the information for getting Martin Lottermoser's hpdj driver.
  107. (new-user.txt)
  108.  
  109. Improves the error message when a user tries to invoke gswin32c without
  110. explicitly selecting a device.  (dwmainc.cpp)
  111.  
  112. Removes the author's name and e-mail address from the pdf2ps man page, at
  113. his request.  (pdf2ps.1)
  114.  
  115. Improves the documentation for BandBufferSpace.  (language.txt)
  116.  
  117. Procedures
  118. ----------
  119.  
  120. Changes the VMS command files so that they don't echo the commands.
  121. (append_l.com, copy_one.com, rm_all.com, rm_one.com)
  122.  
  123. Utilities
  124. ---------
  125.  
  126. Fixes bugs:
  127.     - The "lp" command files all inappropriately set the top margin to
  128. 0.1".  (lp386.bat, lp386r2.bat, lpgs, lpgs.bat, lpr2, lpr2.bat)
  129.     - The lp386[r2].bat command files inappropriately set the
  130. LanguageLevel to 1.  (lp386.bat, lp386r2.bat)
  131.  
  132. Drivers
  133. -------
  134.  
  135. Fixes bugs:
  136.     - The PDF writer got confused about the current color if the input
  137. contained text strings separated only by color changes.  (gdevpdf.c)
  138.     - Some casts between const char * and const byte * were incorrect
  139. (warnings only).  (gdevpdft.c)
  140.  
  141. Adds a NoCancel parameter to the winpr2 device, which suppresses display of
  142. the dialog box.  (gdevwpr2.c)
  143.  
  144. Interpreter
  145. -----------
  146.  
  147. Fixes bugs:
  148.     - An "extern" was omitted, causing a duplicate definition of
  149. build_function_procs.  (ifunc.h)
  150.     - The global pseudo-operator table was too small, causing a
  151. limitcheck in ps2ascii.  (iinit.c)
  152.     - setcolorspace with a Pattern space with no underlying space would
  153. cause an error if the current color space was a Pattern space.  (zpcolor.c)
  154.     - The Decode key was optional, not required, in the dictionary form
  155. of image[mask].  (zimage2.c)
  156.  
  157. Adds two more PCL/PJL reset sequences to the list of sequences to ignore.
  158. (gs_init.ps)
  159.  
  160. Library
  161. -------
  162.  
  163. Fixes bugs:
  164.     - Multi-screen color halftones could produce "seams".  (gxcht.c)
  165.     - A bug in the gcc optimizer on H-P RISC workstations caused all
  166. curves to be output as lines.  (gxpflat.c)
  167.     - If a non-standard OtherSubr was called before the [h]sbw in a Type
  168. 1 font, a crash could occur.  (gxhint3.c)
  169.     - gxclist.c didn't include string_.h.  (gxclist.c)
  170.  
  171. Version 5.07(limited) (10/31/97)
  172. ================================
  173.  
  174. A few more bug fixes for the 5.10 release.
  175.  
  176. Documentation
  177. -------------
  178.  
  179. Fixes bugs:
  180.     - Some file and directory names hadn't been updated to match the new
  181. directory structure on the primary server.  (make.txt, new-user.txt)
  182.  
  183. Adds the URL for reaching URW++.  (Fontmap.*)
  184.  
  185. Drivers
  186. -------
  187.  
  188. Fixes bugs:
  189.     - Because the C % operator isn't equivalent to 'modulus' for
  190. negative numerators, gx_default_strip_tile_rectangle could crash in some
  191. cases.  (gxdevice.h, gdevdflt.c)
  192.     - In the PDF writer, Dest values were correct (page numbers) for
  193. GoToR actions, but were incorrect (should be page object references) for
  194. other actions; also, Rect values were transformed, but should not be.
  195. (gdevpdfm.c)
  196.     - In the PDF writer, articles and bookmarks could attempt to write
  197. multiple Contents streams, which is not allowed.  (gdevpdfx.h, gdevpdf.c,
  198. gdevpdfm.c)
  199.     - The PDF writer ignored PS (PostScript pass-through) pdfmarks.
  200. (gdevpdfm.c)
  201.     - The PDF writer didn't write out the color space parameters for
  202. CIE-based spaces.   (gdevpdfi.c)
  203.  
  204. Library
  205. -------
  206.  
  207. Fixes bugs:
  208.     - Suffix subclass structures with 4 added pointers skipped the first
  209. pointer in the superclass when garbage collecting, possibly causing invalid
  210. memory accesses.  (gsstruct.h)
  211.     - An argument list incompatibility in a procedure used in a static
  212. structure initialization upset some compilers.  (gsfunc.h, gsfunc0.c)
  213.  
  214. Version 5.06(limited) (10/7/97)
  215. ===============================
  216.  
  217. This fixes a few more bugs in the PDF writer, and a few other very obscure
  218. problems.  It also adds support for Functions and brings multiple contexts
  219. closer to working, neither of which we expect actually to be used any time
  220. soon.  This is intended to be the candidate fileset for the 5.10 release,
  221. but since we had to tinker with a delicate part of the PDF writer to fix a
  222. problem affecting visual quality with Acrobat, there may be new bugs that
  223. will have to be fixed in yet another candidate fileset.
  224.  
  225. Documentation
  226. -------------
  227.  
  228. Fixes bugs:
  229.     - Jim McPherson's e-mail address was out of date.  (devices.txt)
  230.     - Invoking ps2pdf with only a single file name is supported on some
  231. versions of Windows NT and OS/2, not only on Unix.  (ps2pdf.txt)
  232.     - The ps2pdf documentation didn't indicate that ps2pdf can use the
  233. Windows "console mode" executable as well as the MS-DOS executable.
  234. (ps2pdf.txt)
  235.     - The list of which Distiller parameters actually have an effect was
  236. incorrect.  (gdevpdfp.c)
  237.  
  238. Notes that the cdj550 driver is compatible with the H-P 660C and 660Cse.
  239. (devs.mak, devices.txt)
  240.  
  241. Adds a note about using Acrobat Reader fonts.  (install.txt, use.txt)
  242.  
  243. Notes that the LJ 5P, like the 5L, is not a PCL XL printer.  (devs.mak)
  244.  
  245. Notes problems and possible problems with certain versions of the Borland
  246. C++ compiler.  (make.txt)
  247.  
  248. Notes the change in -Z:.  (use.txt)
  249.  
  250. Updates the uniprint documentation for this release.  (devices.txt)
  251.  
  252. Expands the rationale for the large resolution in the bbox device.
  253. (gdevbbox.c)
  254.  
  255. Notes that the H-P DeskJet 600 series can use the djet500 driver with -r600.
  256. (devs.mak)
  257.  
  258. Procedures
  259. ----------
  260.  
  261. Fixes bugs:
  262.     - Vector devices didn't include a necessary dependency on the stream
  263. package.  (lib.mak)
  264.     - There were several bugs in the ps2pdf.bat file.  (ps2pdf.bat)
  265.  
  266. Changes -Z: so it prints some summary lines as well as minimal information
  267. about banding.  This makes the -ZA trace compatible with our memory leak
  268. tool.  (iminst.h, imain.c)
  269.  
  270. Utilities
  271. ---------
  272.  
  273. Fixes bugs:
  274.     - ps2epsi sometimes produced a too-large bounding box, or even
  275. caused a rangecheck.  (ps2epsi)
  276.  
  277. At the advice of a user, removes the RESOLUTION=100 line from pv.sh.
  278. (pv.sh)
  279.  
  280. Drivers
  281. -------
  282.  
  283. Fixes bugs:
  284.     - The PDF writer produced incorrect output for stroke operations
  285. with unusual CTMs, because PDF, unlike PostScript, applies the CTM to the
  286. path at the time of the fill or stroke, not as the path is being
  287. constructed.  (gdevpdfd.c)
  288.     - Vector devices returned an error, instead of falling back to the
  289. default implementations, when filling or stroking with a pattern.
  290. (gdevvec.c)
  291.     - The PDF writer freed an internal stream structure using the wrong
  292. allocator, possibly causing memory corruption.  (gdevpdf.c)
  293.     - The uniprint driver had some compilation problems, and possibly
  294. other problems as well (consult the source file).  (gdevupd.c, *.upp)
  295.     - With -dNOCACHE, the PDF writer wrote all text in the base 14 fonts
  296. twice, once as text and once as outlines.  (gs_pdfwr.ps, gdevpdfd.c)
  297.     - The PDF writer didn't properly recognize Symbol and ZapfDingbats
  298. as being among the base 14 fonts.  (gs_pdfwr.ps)
  299.     - When using Acrobat Reader with font smoothing turned on, the base
  300. 14 fonts appeared too bold on the screen in files produced by ps2pdf,
  301. because Reader decides that a 100-unit font at 1 unit = 0.1 point should be
  302. bolder than a 10-unit font at 1 unit = 1 point.  (gdevpdfx.h, gdevpdf.c,
  303. gdevpdft.c)
  304.     - The PDF writer didn't convert View/Page specifications for
  305. bookmark pdfmarks to a Dest key, causing bookmarks not to work.
  306. (gdevpdfm.c)
  307.  
  308. Speeds up the PDF writer by only passing the encoding if it isn't
  309. StandardEncoding.  (gs_pdfwr.ps, gdevpdft.c)
  310.  
  311. Changes the PDF writer's handling of unencoded glyphs.  Adds device
  312. parameters ReEncodeCharacters and ReAssignCharacters to control how
  313. unencoded glyphs are handled.  (These parameters will go away when we handle
  314. variant encodings in full generality.)  (gdevpdfx.h, gdevpdf.c, gdevpdfp.c,
  315. gdevpdft.c)
  316.  
  317. Interpreter
  318. -----------
  319.  
  320. Fixes bugs:
  321.     - setpagedevice didn't restore the stack properly if it failed.
  322. (gs_setpd.ps)
  323.     - 0 identmatrix didn't cause an error.  (gs_init.ps)
  324.     - Devices expecting array-valued parameters didn't accept packed
  325. arrays.  (iparam.c)
  326.  
  327. Starts to de-implement support for special handling of the stacks on
  328. machines with 16:16 addressing.  Currently this only happens if DPNEXT is
  329. defined.  (istack.h)
  330.  
  331. Brings multiple contexts closer to working.  The interpreter can now run
  332. some very simple test cases.  (int.mak, icontext.h, igstate.h, interp.h,
  333. istruct.h, icontext.c, interp.c, zcontext.c, zgstate.c)
  334.  
  335. Adds support for FunctionType 0 Functions, which are used in PDF 1.2.
  336. (ifunc.h, iref.h, store.h, zfunc.c, zfunc0.c)
  337.  
  338. Updates a few remaining pseudo-operators in gs_init.ps to take advantage of
  339. automatic operand and dictionary stack restoration: eexec, identmatrix,
  340. pathbbox.  Not updated yet: filter.  (gs_init.ps)
  341.  
  342. Interpreter (PDF)
  343. -----------------
  344.  
  345. Fixes bugs:
  346.     - Separation color spaces weren't supported.  (gs_pdf.ps,
  347. pdf_draw.ps)
  348.  
  349. Library
  350. -------
  351.  
  352. Fixes bugs:
  353.     - The size argument to gs_free was wrong in an out-of-memory case.
  354. (This was irrelevant, since gs_free only uses the size argument for
  355. error-checking during debugging.)  (gdevprn.c)
  356.     - When freeing a block on the C heap, if -Z@ was set, the block's
  357. header wasn't filled with the sentinel pattern.  (Only relevant when
  358. debugging.)  (gsmemory.c)
  359.     - The C heap allocator didn't fix up pointers properly when freeing
  360. a block, causing unpredictable memory corruption after a 'resize' call.
  361. (gsmemory.c)
  362.     - Using a show operator inside the procedure of a cshow with a
  363. composite font could cause an invalid access.  (gschar.c)
  364.  
  365. Adds support for FunctionType 0 Functions.  (gsdsrc.h, gsfunc.h, gsfunc0.h,
  366. gxfunc.h, gsdsrc.c, gsfunc.c, gsfunc0.c)
  367.  
  368. Moves the GC descriptor for arrays of constant strings to a place where it
  369. is more visible.  (gscie.h, gsstruct.h, gscie.c, gsmemory.c)
  370.  
  371. Version 5.05(limited) (9/24/97)
  372. ===============================
  373.  
  374. This fixes a few bugs found in the first few days of testing 5.04.  There
  375. will probably be several more small incremental filesets before the next
  376. public release.
  377.  
  378. Platforms
  379. ---------
  380.  
  381. Fixes bugs:
  382.     - The Windows code wouldn't compile with the latest MSVC++, because
  383. Microsoft changed the prototype for fprintf.  (gp_msio.c)
  384.  
  385. Drivers
  386. -------
  387.  
  388. Fixes bugs:
  389.     - A picky compiler complained about some omitted casts.  (gdevpdf.c,
  390. gdevpdft.c)
  391.     - Writing a PDF file with any synthesized fonts could produce
  392. slightly garbled output or possibly even an invalid memory access, because a
  393. string was not terminated.  (gdevpdft.c)
  394.     - When writing a PDF file, the first character of a string could get
  395. placed off the page, because of a matrix bookkeeping error.  (gdevpdft.c)
  396.  
  397. Interpreter
  398. -----------
  399.  
  400. Fixes bugs:
  401.     - In case of an error, setpagedevice executed a 'stop'
  402. unconditionally, rather than just signalling an error through the error
  403. machinery.  (gs_setpd.ps)
  404.  
  405. Interpreter (PDF)
  406. -----------------
  407.  
  408. Fixes bugs:
  409.     - Files with unknown operators caused errors, even if the BX
  410. operator was used to disable the error report.  (pdf_base.ps)
  411.  
  412. Version 5.04(limited) (9/21/97)
  413. ===============================
  414.  
  415. This is the first test fileset for the 5.10 release: see above.
  416.  
  417. Documentation
  418. -------------
  419.  
  420. Fixes bugs:
  421.     - George Cameron's address was listed with a domain of .ukis rather
  422. than .uk.  (devices.txt)
  423.     - The default value of ORIENT1 was given as false rather than true.
  424. (use.txt)
  425.     - The documentation for ps2pdf said one can omit the output file
  426. name, but this is only true on Unix systems.  (ps2pdf.txt)
  427.     - The documentation for ps2pdf didn't make clear that the executable
  428. must be named gs on Microsoft OSs.  (ps2pdf.txt)
  429.     - ht_cache is actually allocated with the first gstate, not on
  430. demand.  (gsstate.c)
  431.  
  432. Slightly improves the documentation of .type1execchar.  (zchar1.c)
  433.  
  434. Clarifies the distinction between Ghostscript (PostScript) commands and
  435. shell commands, for the benefit of users brainwashed by Microsoft.
  436. (use.txt)
  437.  
  438. Improves the usage synopsis in the ps2epsi man page.  (ps2epsi.1)
  439.  
  440. Adds a reference to Uli Wortmann's H-P drivers.  (new-user.txt)
  441.  
  442. Improves the documentation of GS_FONTPATH, distinguishing it from GS_LIB and
  443. the search path.  (use.txt)
  444.  
  445. Notes that on some systems, one must substitute 'installbsd' for 'install'
  446. in the makefile and make other edits.  (install.txt, ansihead.mak,
  447. cc-head.mak, gcc-head.mak)
  448.  
  449. Notes that ps2epsi is no longer maintained.  (ps2epsi.ps)
  450.  
  451. Clarifies the availability of support.  (new-user.txt)
  452.  
  453. Procedures
  454. ----------
  455.  
  456. Fixes bugs:
  457.     - The uniprint driver was accidentally omitted from the default
  458. Watcom (MS-DOS) and OS/2 configurations.  (watc.mak, os2.mak)
  459.     - The suggested compiler switches for Digital Unix were incorrect.
  460. (make.txt)
  461.     - The cp.cmd script file didn't work in the newest versions of OS/2.
  462. (cp.cmd)
  463.     - The compilation rules for some Windows-specific files didn't
  464. include ccf32.tr in their dependencies, which could cause the compilation to
  465. fail.  (winint.mak)
  466.  
  467. Removes the lev2min configuration, since we no longer support 16-bit Windows
  468. environments.  (int.mak)
  469.  
  470. Utilities
  471. ---------
  472.  
  473. Fixes bugs:
  474.     - ps2epsi.bat always appended to the output file, rather than
  475. writing over it.  (There are probably other bugs in this script file.)
  476. (ps2epsi.bat)
  477.     - The output of pdf2ps didn't execute properly on some printers,
  478. especially Level 1 printers.  (gs_pdf.ps)
  479.  
  480. Makes ps2pdf do an initial 'save', which causes fonts to be retained better
  481. across pages.  (ps2pdf, ps2pdf.bat)
  482.  
  483. Adds an option to pcharstr.ps to produce C-like rather than PostScript-like
  484. output.  (pcharstr.ps)
  485.  
  486. Drivers
  487. -------
  488.  
  489. Fixes bugs:
  490.     - The LaserJet III and higher printers weren't able to print in the
  491. narrow strip between 1/6" and 1/4" from the left edge of the page.
  492. (gdevdjet.c)
  493.     - The PCL XL drivers produced incorrect output which often caused a
  494. PCL XL NoCurrentFont error at the beginning of the second page.  (gdevpx.c)
  495.     - The GC descriptors for the pswrite device and for PS/PDF devices
  496. were incorrect, causing the GC to smash memory.  (gdevpsdf.h, gdevps.c)
  497.     - The pdfwrite device didn't have a GC descriptor at all.  ******
  498. DISABLED because the device allocates all its temporary structures directly
  499. on the C heap. ****** (gdevpdf.c)
  500.     - When the PDF writer wrote out the Dest key in an action
  501. dictionary, it always used a page object instead of a page number, even if
  502. the page was in another file or didn't exist; it now always uses a page
  503. number.  (gdevpdfm.c)
  504.     - The PDF writer gave an error if a file redefined any of the 14
  505. known fonts.  (gs_pdfwr.ps)
  506.     - The PDF writer didn't handle copy_mono with a non-zero sourcex.
  507. (This probably had no effect in practice.)  (gdevpdfi.c)
  508.  
  509. Splits off gdevpdfd.c (driver drawing procedures) from gdevpdf.c, since the
  510. file was getting too large.  (gdevpdfx.h, gdevpdf.c, gdevpdfd.c)
  511.  
  512. Adds recognition of the CompressPages, CompatibilityLevel, and
  513. UseFlateCompression device (distiller) parameters to the PDF writer.  If
  514. CompressPages is true (default), CompatibilityLevel is 1.2 (default), and
  515. UseFlateCompression is true (default), page contents will be compressed with
  516. Flate ("zip") compression; otherwise, they will not be compressed.
  517.  
  518. Restructures the PDF writer to produce much smaller and faster PDF files, by
  519. restructuring its handling of text to defer all resources to the end of the
  520. file, eliminate duplicate Font resources, turn characters into Type 3 fonts
  521. rather than Image XObjects, use more efficient text positioning commands,
  522. and optionally (but by default) Flate-compress the contents streams.  Also
  523. removes some unnecessary spaces in the output.  (gdevpdfx.h, gdevpdf.c,
  524. gdevpdfd.c, gdevpdfi.c, gdevpdfm.c, gdevpdft.c)
  525.  
  526. Improves the PDF writer so that it no longer converts stroke operations with
  527. non-uniform CTMs to fills, and doesn't bother to stroke empty paths at all.
  528. (gdevpdfd.c)
  529.  
  530. Speeds up the "alternate" X devices substantially.  (gdevxalt.c)
  531.  
  532. Interpreter
  533. -----------
  534.  
  535. Fixes bugs:
  536.     - Filling a string with a Pattern caused a crash with the PDF
  537. writer.  (gs_pdfwr.ps)
  538.     - Converting a file with no marks at all to PDF produced invalid
  539. output.  (gdevpdf.c)
  540.     - .endpage, which is called at the end of every page, sometimes left
  541. 2 extra values on the stack.  (gs_setpd.ps)
  542.     - A definefont with a Type 1 font lacking a .notdef character didn't
  543. cause an invalidfont error.  (bfont.h, zfont1.c, zfont2.c)
  544.     - On anti-aliased devices, characters from Type 1 fonts with an
  545. incorrect or missing FontBBox came out a factor of 2 or 4 too small if the
  546. character was small enough to cache.  (zchar1.c)
  547.     - If a file redefined certain operators, loading Type 1 fonts could
  548. fail.  This problem was fixed in an earlier release, and somehow the fix got
  549. undone.  (gs_type1.ps)
  550.     - cshow didn't set the correct current font when running the
  551. procedure, and didn't restore it properly afterwards.  (zchar.c, zchar2.c)
  552.     - With certain compilers, the interpreter loop caused unaligned
  553. memory accesses on DEC Alpha systems running Windows NT.  (iref.h)
  554.  
  555. Adds freelist validation to the memory checker.  (ilocate.c)
  556.  
  557. Changes the debugging switch for bypassing the garbage collector from
  558. compile-time to run-time.  (igc.c)
  559.  
  560. Adds the real operators for view clipping (but they don't do anything yet,
  561. because view clipping isn't implemented at the library level).  (zdps.c,
  562. zvmem.c)
  563.  
  564. Completes the implementation of defineusername.  (zdps.c)
  565.  
  566. Adds an implementation of wtranslation, by simply reading a device parameter
  567. of the same name.  (gs_dps.ps)
  568.  
  569. Interpreter (PDF)
  570. -----------------
  571.  
  572. Fixes bugs:
  573.     - Lab color spaces weren't implemented, and gave an error.
  574. (gs_pdf.ps)
  575.     - Images only worked with built-in color spaces, not color space
  576. resources.  (pdf_draw.ps)
  577.     - Embedded font subsets were treated as undefined.  (pdf_font.ps)
  578.  
  579. Library
  580. -------
  581.  
  582. Fixes bugs:
  583.     - strokepath sometimes clipped the path to the current clipping
  584. region, which it should never do.  (gxstroke.c)
  585.     - The initial X/Y position for Type 2 charstrings (CFFs) sometimes
  586. was set incorrectly.  (gstype2.c)
  587.     - Memory management for dash patterns was still incorrect (despite
  588. the fix in 4.36), possibly causing snarled freelists and invalid memory
  589. references.  (gsline.c, gsstate.c)
  590.     - The saved gstate of a Pattern instance was freed properly when the
  591. instance was freed by reference counting as a result of setting the color or
  592. color space, but not when the instance was freed by reference counting
  593. anywhere else.  (gspcolor.c)
  594.     - A test for whether to use a slower form of oversampling was
  595. incorrect.  (Probably only a performance bug.)  (gschar.c)
  596.     - cshow didn't set the correct current font when running the
  597. procedure, and didn't restore it properly afterwards.  (gsfont.h, gschar.c,
  598. gsfont.c)
  599.  
  600. Improves allocator validity checking when DEBUG is set.  (gsalloc.c)
  601.  
  602. Adds a couple of missing FontType values.  (gxftype.h)
  603.  
  604. Changes the default conversions between CMYK and RGB colors back to the
  605. Adobe rules documented in the Red Book, to reduce output differences from
  606. Adobe implementations.  (gxdcconv.c)
  607.  
  608. Adds a graphics state element for view clipping, under an #ifdef DPNEXT, and
  609. implementations of the view clipping operators (but not the logic for doing
  610. the actual clipping).  (gsstate.h, gzstate.h, gsstate.c)
  611.  
  612. Removes the redundant clip_rule variable from the graphics state (which
  613. wasn't used for anything).  (gzstate.h, gspath.c)
  614.  
  615. Version 5.03 (8/8/97)
  616. =====================
  617.  
  618. The only reason for this release is to fix two serious bugs introduced
  619. between 5.01 and 5.02.  We fixed a few other very localized and low-risk
  620. bugs at the same time.
  621.  
  622. Documentation
  623. -------------
  624.  
  625. Removes the "(if relevant)" from the bug reporting form, since about 25% of
  626. the forms are submitted without a URL or any other data.  (bug-form.txt)
  627.  
  628. Adds a discussion of single-use procedures to the style guide.
  629. (c-style.txt)
  630.  
  631. Updates the information about obtaining Ghostscript on physical media.
  632. (new-user.txt)
  633.  
  634. Updates the information about ps_view.  (new-user.txt)
  635.  
  636. Procedures
  637. ----------
  638.  
  639. Adds the uniprint driver to all platforms.  (*.mak)
  640.  
  641. Changes the contents of the pc.tar.gz archives:
  642.     - Adds *.upp.
  643.     - Removes *.res.
  644.     - Removes cp.bat, font2c.bat, mv.bat, rm.bat, wmakebat.bat,
  645.       cp.cmd, mv.cmd and rm.cmd, and gv-vms.hlp.
  646.  
  647. Removes an obsolete script file.  (tar_mv)
  648.  
  649. Drivers
  650. -------
  651.  
  652. Fixes bugs:
  653.     - The uniprint driver didn't handle an increase in media height
  654. correctly.  (gdevupd.c)
  655.  
  656. Platforms
  657. ---------
  658.  
  659. Fixes bugs:
  660.     - Printing to printers other than LPT1 under MS Windows no longer
  661. worked.  (bug introduced in 5.02)  (gp_mswin.c)
  662.     - Drag-and-drop didn't work under Windows NT (or other 32-bit
  663. Windows environments).  (dwtext.cpp)
  664.     - Sequent systems needed an additional system header file.
  665. (time_.h)
  666.  
  667. Fonts
  668. -----
  669.  
  670. Fixes bugs:
  671.     - The substitutions Myriad => Times and Minion => Helvetica were
  672. incorrect; they should be the other way around.  (gs_fonts.ps)
  673.     - MyriadPkg wasn't recognized as a condensed font.  (gs_fonts.ps)
  674.     - Univers wasn't recognized as mapping to Helvetica.  (gs_fonts.ps)
  675.  
  676. Interpreter
  677. -----------
  678.  
  679. Fixes bugs:
  680.     - A line of debugging code, printing the sections of 3 regions of
  681. TrueType fonts being loaded, was accidentally left in.  (gs_ttf.ps)
  682.     - TrueType fonts whose pre-glyf data had odd length were broken
  683. (typically gave a rangecheck error), because of the fix to treat the odd
  684. byte of individual sfnts strings as padding per Adobe documentation.  (bug
  685. introduced in 5.02) (gs_ttf.ps)
  686.  
  687. Interpreter (PDF)
  688. -----------------
  689.  
  690. Fixes bugs:
  691.     - If a real-number token in a CFF had an even number of nibbles, a
  692. unmatchedmark error would occur.  (gs_cff.ps)
  693.     - If the strings Index in a CFF included an empty string, a
  694. rangecheck error would occur.  (gs_cff.ps)
  695.     - CFFs with non-standard Encodings that included standard strings
  696. would get a typecheck error.  (gs_cff.ps)
  697.  
  698. Library
  699. -------
  700.  
  701. Fixes bugs:
  702.     - Using %d in an OutputFile name didn't substitute the page number.
  703. (bug introduced in 5.02)  (gsdevice.c)
  704.     - In Type 2 CharStrings, if a hintmask occurred at the beginning, it
  705. wasn't recognized as also incorporating the function of vstemhm.
  706. (gstype2.c)
  707.     - The data bytes for hintmask and cntrmask weren't printed for
  708. debugging.  (gstype2.c)
  709.  
  710. Version 5.02 (7/28/97)
  711. ======================
  712.  
  713. Because of an ISP failure that delayed the 5.0 announcement for 12 days, the
  714. 5.01 release only responded to a few days of bug reports; 5.02 fixes some
  715. problems that should have been fixed in 5.01, as well as a large number of
  716. obscure problems uncovered by Genoa testing.
  717.  
  718. Documentation
  719. -------------
  720.  
  721. Fixes bugs:
  722.     - The documentation for building on the Intergraph Clipper was out
  723. of date.  (make.txt)
  724.     - ESC was claimed to be a self-delimiting character.  (gs_init.ps)
  725.     - Removes the documentation claiming that ^D and ^Z are
  726. self-delimiting.  (language.txt)
  727.     - Document that -dSUBSTFONT doesn't create a font with the requested
  728. font name.  (use.txt)
  729.     - Ghostscript was defined as compatible with PDF 1.1 rather than PDF
  730. 1.2.  (language.txt)
  731.     - The description of gcc problems on Alpha didn't make it clear that
  732. the use of gcc was optional, not required.  (make.txt)
  733.     - The description of how to use GNU make on VMS systems was
  734. inaccurate.  (make.txt)
  735.  
  736. Improves the documentation for building on H-P RISC systems.  (make.txt)
  737.  
  738. Corrects the discussion of Cygnus' licensing terms for the cygwin32
  739. environment.  (make.txt)
  740.  
  741. Removes the apology for the poor quality of Ghostscript's TrueType
  742. rasterizer, since the quality is now quite good.  (fonts.txt)
  743.  
  744. Documents the fact that one must use # rather than = with Watcom C.
  745. (use.txt)
  746.  
  747. Documents the updates and additions to the uniprint driver.  (devices.txt)
  748.  
  749. Adds some material to Aladdin's C style guide.  (c-style.txt)
  750.  
  751. Documents the fact that using gmake requires VMS 6.2 or later on Alphas and
  752. 7.1 (perhaps 7.0) or later on VAXen.  (make.txt)
  753.  
  754. Adds an example EPS file.  (psfiles.txt)
  755.  
  756. Adds some information about compiling and linking under OS/2.  (make.txt)
  757.  
  758. Expands the description of XLIBDIR and XLIBDIRS.  (*head.mak)
  759.  
  760. Adds a new pointer to information on using a Kanji font with Ghostscript.
  761. (new-user.txt)
  762.  
  763. Documents the use of /Resource/<category>/<resource> as the default place
  764. where resources are sought.  (use.txt)
  765.  
  766. Updates the documentation on building with MSVC++ to reflect the makefile
  767. changes.  (make.txt)
  768.  
  769. Procedures
  770. ----------
  771.  
  772. Fixes bugs:
  773.     - In openvms.mak, several ifdef tests were wrong.  (openvms.mak)
  774.     - One CP command was slightly inconsistent with the others.
  775. (zlib.mak)
  776.     - If libz and libpng were both shared, libz was linked first,
  777. resulting in some undefined references.  (libpng.mak)
  778.     - The VMS makefile didn't interact properly with VMS's version
  779. numbering facility.  (copy_one.com)
  780.  
  781. Updates the VMS DCL script one last time, to handle libpng version 96.
  782. (vms.mak)
  783.  
  784. Restructures the MSVC++ makefiles to allow building the graphics library
  785. without the PostScript interpreter.  (bcwin32.mak, msvc4.mak[deleted],
  786. msvc5.mak[deleted], msvc32.mak, msvccom.mak, watcw32.mak,
  787. wincom.mak[deleted], winint.mak, winlib.mak)
  788.  
  789. Adds a makefile to create a library-only demo program under MSVC++, like the
  790. ones for Unix/gcc and MS-DOS/Watcom.  (msvclib.mak)
  791.  
  792. Adds an example EPS file.  (ridt91.eps, unix-end.mak)
  793.  
  794. Removes support for libpng release 0.88, which is now quite obsolete.
  795. (libpng.mak)
  796.  
  797. Utilities
  798. ---------
  799.  
  800. Fixes bugs:
  801.     - ps2pdf.bat, unlike ps2pdf, didn't accept options.  (ps2pdf.bat)
  802.     - echogs used 'const' in one place, which wasn't accepted by some
  803. very old compilers.  (echogs.c)
  804.     - pdf2ps output Orientation, which it shouldn't.  (pdf_main.ps)
  805.  
  806. Makes the usage message from ps2pdf.bat include the options, like ps2pdf.
  807. (ps2pdf.bat)
  808.  
  809. Changes the printpath utility so that its output is legal PostScript code.
  810. (ppath.ps)
  811.  
  812. Makes pdf2dsc add DSC comments for the bounding box (if a CropBox is
  813. available in the PDF file) and the orientation.  (pdf2dsc.ps)
  814.  
  815. Drivers
  816. -------
  817.  
  818. Fixes bugs:
  819.     - The get_bits operation wasn't implemented for the vgalib driver.
  820. (gdevvglb.c)
  821.     - The dnj650c driver output an extra % near the end of the file.
  822. (gdevcdj.c)
  823.     - The definition of pprintd2 didn't have a line break before the
  824. procedure name, confusing ansi2knr.  (gdevpstr.c)
  825.     - EPS files produced invalid PDF output.  (gdevpdf.c)
  826.     - "Vector" output devices didn't recognize %d in output file names,
  827. or - for output to stdout.  (gdevprn.h, gxdevice.h, gdevprn.c, gdevvec.c,
  828. gsdevice.c)
  829.     - With the pdfwrite driver, restore or grestore would cause a
  830. rangecheck error in .installpagedevice if a setpagedevice had been executed.
  831. (gdevpdfp.c)
  832.     - The pdfwrite driver produced garbage output for text rotated by
  833. angles that were only infinitesimally different from multiples of 90
  834. degrees.  (gdevpdft.c)
  835.     - The pnm[raw] driver didn't handle anti-aliasing properly.
  836. (gdevpbm.c)
  837.     - The PDF writer didn't scale the parameters for [a][width]show
  838. correctly.  (gs_pdfwr.ps, gdevpdft.c)
  839.  
  840. Fixes some minor compilation warnings not affecting code functionality.
  841. (gdevbbox.c, gdevpdfm.c, gshtscr.c, gsmemory.c, gxccman.c, gxfill.c,
  842. gximage0.c)
  843.  
  844. Fixes some bugs in the uniprint driver and adds some more printer models.
  845. (gdevupd.c, bjc610a*.upp, bjc610b*.upp, necp2x6.upp, stc1520h.upp)
  846.  
  847. Makes a small change for clean compilation on BeOS.  (gdevcdj.c)
  848.  
  849. Updates the PNG driver to use updated API calls for allocating/initializing
  850. and freeing the PNG structures.  (gdevpng.c)
  851.  
  852. Platforms
  853. ---------
  854.  
  855. Refactors the MS Windows code to allow building the library without the
  856. interpreter.  (gs_msio.c, gs_mslib.c, gp_mswin.c)
  857.  
  858. Fonts
  859. -----
  860.  
  861. Fixes bugs:
  862.     - definefont was executed twice on TrueType fonts.  (No bad
  863. consequences, just unnecessary work.)  (gs_ttf.ps)
  864.  
  865. Interpreter
  866. -----------
  867.  
  868. Fixes bugs:
  869.     - The fix for the 'stopped' around run_string_* in 5.01 was made
  870. incorrectly.  (gs_init.ps)
  871.     - Many operators that expect a matrix operand didn't accept packed
  872. arrays.  (iutil.c)
  873.     - The default CRD didn't have an explicit BlackPoint, which some
  874. Genoa tests require.  (gs_lev2.ps)
  875.     - A stack protection fix caused setscreen and setcolorscreen with
  876. dictionary operands to give a typecheck.  (gs_dps2.ps)
  877.     - Executing a string didn't handle tail recursion properly if the
  878. last token was followed by a single whitespace character.  (interp.c)
  879.     - Clearing the error indication didn't set errorname to null.
  880. (gs_init.ps)
  881.     - Some unexpected items appeared on the execution stack, confusing
  882. some of the Genoa tests.  (gs_init.ps, istack.h, istack.c, zcontrol.c)
  883.     - The dummy definitions for setucacheparams/ucachestatus didn't look
  884. enough like the real ones.  (gs_dps2.ps)
  885.     - Insideness tests didn't work, because the hit detection device
  886. width and height weren't set up.  (zupath.c)
  887.     - defineuserobject didn't use the same algorithm for growing the
  888. array as Adobe interpreters.  (gs_dps2.ps)
  889.     - eq and ne didn't work correctly on save objects.  (iutil.c)
  890.     - findfont used =string internally, interfering with PostScript
  891. programs that also used it.  (gs_fonts.ps)
  892.     - cshow didn't set up scaled versions of base fonts as the current
  893. font.  (zchar2.c)
  894.     - defineresource didn't make the resource value read-only.
  895. (gs_res.ps)
  896.     - If inustroke got an error, it could return without an error
  897. indication and without changing the stack.  (zupath.c)
  898.     - The arrays returned by different invocations of currentcolorspace
  899. with the same device color space weren't guaranteed to be eq.  (gs_lev2.ps)
  900.     - Out-of-range integers followed by a '.' were converted to names
  901. rather than reals.  (iscan.c, iscannum.c)
  902.     - resourceforall caused an invalidaccess error if currentglobal was
  903. true but the procedure, template, or scratch string was in local VM.
  904. (gs_res.ps)
  905.     - In many places, integer values were converted to floats rather
  906. than doubles, losing precision.  (ichar.h, icharout.h, ifont.h, iutil.h,
  907. idparam.c, iparam.c, iutil.c, zchar.c, zchar1.c, zchar42.c, zcharout.c,
  908. zcie.c, zcolor.c, zcolor1.c, zcolor2.c, zcontrol.c, zcsindex.c, zcssepr.c,
  909. zdpnext.c, zdps1.c, zfont.c, zfont2.c, zgstate.c, zhsb.c, zht.c, zmath.c,
  910. zmatrix.c, zmedia2.c, zpath.c, zpath1.c, zupath.c)
  911.     - The TransformPQR procedure in the default CRD didn't pop its
  912. auxiliary operands from the stack.  (gs_lev2.ps)
  913.     - Because of an incorrect stack depth check, setcolorrendering
  914. sometimes produced a stackunderflow.  (zcrd.c)
  915.     - sethalftone caused an invalidaccess error if the HalfTone type was
  916. not 5, the dictionary was in local VM, and the current VM was global.
  917. (gs_dps2.ps)
  918.     - writeobject and printobject caused an invalidaccess error if the
  919. object being written was in local VM and the current VM was global.
  920. (gs_btokn.ps)
  921.     - ustrokepath appended the strokepath segments to the current path,
  922. rather than replacing the path.  (zupath.c)
  923.     - restore incorrectly purged from the character cache any characters
  924. in a font being freed, even if the font had a UID.  (zfont.c)
  925.     - The definition of zimage_opaque_setup confused ansi2knr.
  926. (zimage.c)
  927.     - Type 42 fonts that included the padding byte in each sfnts string
  928. didn't work if sfnts had more than one string.  (zfont42.c)
  929.     - Doing a garbage collection at the same time as handling a
  930. stackoverflow failed to update the object that needed re-execution, causing
  931. the interpreter to execute random data.  (interp.c)
  932.     - %stdout and %stderr weren't flushed if they were closed
  933. explicitly.  (ziodev.c)
  934.  
  935. For greater Adobe compatibility:
  936.     - Changes setdash to limit dash patterns to 11 elements.  (This is
  937. enforced at the PostScript level: the graphics library doesn't have a
  938. limit.)  (gs_init.ps)
  939.     - Changes ^D and ^Z so they are not self-delimiting characters, and
  940. changes ^K so it is not a whitespace character.  (gs_init.ps, iscan.c,
  941. scantab.c)
  942.     - Makes = cause an error on non-read-accessible objects rather than
  943. printing them as --nostringval--.  (gs_init.ps)
  944.     - When -dSUBSTFONT= is used, makes findfont return the actual named
  945. font, rather than a copy with the FontName changed to the requested one.
  946. (gs_fonts.ps)
  947.     - CFF fonts with a non-default FontMatrix caused an error.
  948. (gs_cff.ps)
  949.  
  950. Fixes some minor compilation warnings not affecting code functionality.
  951. (iparam.c, zfcmap.c)
  952.  
  953. Strengthens the test of o-stack validity in the main interpreter loop in
  954. debug mode.  (interp.c)
  955.  
  956. Changes the filling rule for Type 1 fonts from winding-number to even-odd.
  957. This affects no properly designed fonts, and seems to match Adobe
  958. interpreters better.  (zchar1.c)
  959.  
  960. Implements non-standard Encodings in CFF fonts.  (gs_cff.ps)
  961.  
  962. Changes the default halftone screen for 600 dpi printers from 85 to 106 lpi,
  963. which reduces the number of halftone levels from 50 to 32 but produces
  964. visually better output.  (gs_init.ps)
  965.  
  966. Interpreter (PDF)
  967. -----------------
  968.  
  969. Fixes bugs:
  970.     - Pattern color spaces weren't supported.  (gs_pdf.ps, pdf_draw.ps)
  971.  
  972. Causes references to undefined named Destinations to be ignored rather than
  973. giving an error.  (pdf_main.ps)
  974.  
  975. Library
  976. -------
  977.  
  978. Fixes bugs:
  979.     - A 'const' was omitted in a declaration, upsetting several
  980. compilers.  (gxclread.c)
  981.     - arct and arcto gave an error for negative radii.  (gspath1.c)
  982.     - The collinearity check for arct[o] could cause some arcs to be
  983. rendered as single points.  (gspath1.c)
  984.     - Uncolored patterns sometimes came out blank, because the color
  985. wasn't set before calling the PaintProc.  (gspcolor.c)
  986.     - The phase for masking colored patterns was wrong, producing
  987. incorrect output.  (gspcolor.c)
  988.     - reversepath always appended the current position to the new path,
  989. rather than only doing so if the path just consisted of a single moveto.
  990. (gxpath2.c)
  991.     - cshow didn't restore the current font properly.  (gschar.h,
  992. gschar.c)
  993.     - The check for whether characters can be cached didn't consider
  994. PaintType values other than 0 and 2.  (gschar.c)
  995.     - The bounding box device didn't handle PageCount properly.
  996. (gdevbbox.c)
  997.     - Uncached fonts with a next_char procedure didn't set the glyph
  998. properly.  (gschar.c)
  999.     - Parallelograms with ax < bx, ay < by, and the 'a' edge to the
  1000. right of the 'b' edge weren't filled, causing pixels to be omitted from some
  1001. highly skewed images.  (gdevddrw.c)
  1002.     - 12-bit-per-pixel images in portrait orientation filled each scan
  1003. line with the value of the last pixel -- i.e., didn't work.  (gximage4.c)
  1004.     - The path representation of a clipping path could include some
  1005. inappropriate, leftover path segments.  (gxcpath.c)
  1006.     - The angle for the miter check was computed in device space rather
  1007. than in user space.  (gxstroke.c)
  1008.     - TrueType fonts were lumpy, and the accents of accented characters
  1009. were placed incorrectly.  (gstype42.c)
  1010.     - Some macros used for generating device prototypes didn't
  1011. parenthesize all uses of their parameters, causing possible errors if the
  1012. parameters were expressions rather than numeric constants.  (gdevprn.h)
  1013.     - When banding, strip halftones (typically produced by
  1014. AccurateScreens) sometimes didn't have the correct phase.  (gxbitmap.h,
  1015. gxclread.c)
  1016.     - A minor change was required for correct compilation with Microsoft
  1017. VC++.  (memory_.h)
  1018.     - Under certain conditions, character shapes could get wildly
  1019. distorted by hints.  (bug introduced in 5.01) (gxhint3.c)
  1020.  
  1021. For greater Adobe compatibility:
  1022.     - Changes reversepath so that the implicit line created by closepath
  1023. is not considered a "segment".  (gxpath2.c)
  1024.  
  1025. Fixes some minor compilation warnings not affecting code functionality.
  1026. (gstype1.c)
  1027.  
  1028. Changes the font and scaled-font caches so that if the font has a UID
  1029. (UniqueID or XUID), the UID and FontType are both considered part of the
  1030. key, and we don't cache fonts with non-zero PaintType.  (The Red Book says
  1031. that changing anything except the Encoding should also change or remove the
  1032. UID, but some files don't do this.  The current fix is probably not
  1033. sufficient, but it is a step in the right direction.)  (gxfcache.h,
  1034. gxccache.c, gxccman.c)
  1035.  
  1036. Splits off the definitions of font_type and fbit_type into a separate file,
  1037. since gxfcache.h now needs font_type.  (gxfcache.h, gxfont.h, gxftype.h)
  1038.  
  1039. Makes the Flex feature in Type 1 fonts conform to the published
  1040. specification, rather than always producing curves.  The comment in the code
  1041. (and in the NEWS entry for release 2.6) says that this breaks some very old
  1042. Adobe fonts: if this turns out to be a problem, we'll figure out a test that
  1043. will do the right thing for these fonts.  (gstype1.c)
  1044.  
  1045. Provides 'double' versions of some API functions to accommodate the
  1046. increased use of doubles in the interpreter.  (gschar.h, gschar.c)
  1047.  
  1048. Adds a compile-time option to force the use of strip halftones, for
  1049. debugging.  (gshtscr.c)
  1050.  
  1051. Changes the hint snapping algorithm in the Type 1 rasterizer so that it will
  1052. only change a stem width by a maximum of 1/2 pixel rather than 1 pixel.
  1053. This appears to help with dropouts at certain sizes.  (gxhint2.c)
  1054.  
  1055. Makes a few changes for clean compilation on BeOS.  (stdpre.h, stat_.h,
  1056. gxcpath.c)
  1057.  
  1058. Version 5.01 (6/22/97)
  1059. ======================
  1060.  
  1061. This fixes a few bugs reported in the 5.0 release.  This will be a
  1062. commercially supported release.
  1063.  
  1064. Documentation
  1065. -------------
  1066.  
  1067. Fixes bugs:
  1068.     - README referred to an obsolete file devarch.txt.  (README)
  1069.     - The comment on flip4x12 had a typo.  (gsflip.c)
  1070.     - The algorithm comments for adjusted_y_spans_pixel weren't precise
  1071. enough.  (gxfill.c)
  1072.     - The usage message printed by the ps2pdf script didn't indicate
  1073. that one can now insert options before the input file name.  (ps2pdf)
  1074.     - The file searching documentation didn't indicate that paths
  1075. beginning with ./ or ../ are considered "explicit" and not subject to
  1076. searching.  (use.txt)
  1077.     - The description of SEARCH_HERE_FIRST in the per-platform makefiles
  1078. indicated that it only applied to initialization files, not to files
  1079. specified on the command line as well.  (*.mak)
  1080.     - There were still some references to 16-bit implementations.
  1081. (install.txt)
  1082.  
  1083. Clarifies that -dNODISPLAY also suppresses output to other devices.
  1084. (use.txt)
  1085.  
  1086. Adds the e-mail address for reporting problems to the bug report form, and
  1087. also a space to report makefile changes.  (bug-form.txt)
  1088.  
  1089. Adds a note under -g indicating that it fixes the media size.  (use.txt)
  1090.  
  1091. Adds an explanation of why Ghostscript can't use the system libraries for
  1092. the JPEG package.  (make.txt)
  1093.  
  1094. Notes that ps2ai doesn't work properly with Adobe's Helvetica-Oblique font,
  1095. and other fonts whose original FontMatrix involves skewing or rotation.
  1096. (psfiles.txt)
  1097.  
  1098. Updates the uniprint documentation slightly.  (devices.txt)
  1099.  
  1100. Notes that the new lj5 drivers do not work with the LJ5L.  (devs.mak)
  1101.  
  1102. Modifies the Aladdin Free Public License slightly to make it clearer that
  1103. the exception for freely redistributable CD-ROMs only applies if the CD-ROM
  1104. is being distributed by itself, not with anything else commercial.  (This
  1105. has always been the case, but the previous wording wasn't clear enough.)
  1106. (PUBLIC)
  1107.  
  1108. Notes that gcc with -O still has code generation problems on H-P RISC
  1109. machines.  (make.txt)
  1110.  
  1111. Adds a pointer to Martin Lottermoser's hpdj driver.  (new-user.txt)
  1112.  
  1113. Enhances and reorganizes the documentation for building Ghostscript, in
  1114. response to user feedback.  (make.txt, install.txt)
  1115.  
  1116. Adds a description of the EPSF recognition feature.  (language.txt)
  1117.  
  1118. Procedures
  1119. ----------
  1120.  
  1121. Fixes bugs:
  1122.     - string__h was misspelled string_h in one place.  (lib.mak)
  1123.     - gs_dps.ps wasn't installed by "make install".  (unix-end.mak)
  1124.     - ccgs (used with non-ANSI C compilers) didn't do the right thing
  1125. with -DPNG_USE_CONST.  (ccgs)
  1126.  
  1127. Adds support for version 96 of libpng, and updates all the makefiles to
  1128. reference it.  (libpng.mak, *.mak)
  1129.  
  1130. Updates the MSVC makefiles to get rid of some warning messages and provide a
  1131. way to specify a library path for the final link.  (msvc*.mak)
  1132.  
  1133. Utilities
  1134. ---------
  1135.  
  1136. Fixes bugs:
  1137.     - The usage message for the gslp utility had a minor typo.
  1138. (gslp.ps)
  1139.     - The "line printer" utility didn't expand tabs properly when
  1140. producing PostScript output.  (gslp.ps)
  1141.     - The gslp utility didn't automatically include the date.  (gslp)
  1142.     - The line printer scripts didn't pass the script name to the
  1143. utility program, so the usage message didn't use the correct name.  (gsbj*,
  1144. gsdj*, gslj*, gslp*, lp*)
  1145.  
  1146. Modifies the gslp utility so that invoking it with no arguments prints the
  1147. usage message.  (gslp.ps)
  1148.  
  1149. Adds the ability to specify the number of bits per component to the
  1150. CMYK-viewing utility.  (viewcmyk.ps)
  1151.  
  1152. Changes the ps2pdf script so that on Windows NT, as on Unix, it allows
  1153. omitting the output file name, automatically replacing the extension of the
  1154. input file with .pdf.  (ps2pdf.bat)
  1155.  
  1156. Drivers
  1157. -------
  1158.  
  1159. Fixes bugs:
  1160.     - Some compilers didn't accept a #define with the macro name on the
  1161. next line.  (gdevpx.c)
  1162.     - The procedure dash_pattern_eq was defined in two places.
  1163. (gdevpdf.c)
  1164.     - The uniprint driver sometimes dropped some output or got confused,
  1165. because of a misunderstanding about how to update device procedure vectors
  1166. properly.  (gdevupd.c)
  1167.     - The PostScript and EPS writers produced binary output for images,
  1168. which generally can't be sent to PostScript printers.  (gdevpsdf.h,
  1169. gdevpdf.c, gdevps.c)
  1170.     - The EPS writer put a %%EOF at the end of the file, which might
  1171. cause problems for some spoolers if the file is embedded in another.
  1172. (gdevps.c)
  1173.  
  1174. Changes the implementation of printer drivers so that they flush the output
  1175. stream after each page.  We aren't absolutely sure that this is a good idea,
  1176. but it prevents certain anomalous behavior where the last page isn't ejected
  1177. properly.  (gdevprn.c)
  1178.  
  1179. Implements a long-delayed update to the mgr drivers, to restore the color
  1180. mapping to an older one.  (gdevmgr.h, gdevmgr.c)
  1181.  
  1182. Updates the uniprint driver with a number of changes from its author.
  1183. (gdevupd.c)
  1184.  
  1185. Platforms
  1186. ---------
  1187.  
  1188. Adds the JPEG, Postscript, and PCL XL drivers, which are included on all
  1189. other platforms, to the MS Windows platforms.  (bcwin32.mak, msvc4.mak,
  1190. msvc5.mak, watcw32.mak)
  1191.  
  1192. Interpreter
  1193. -----------
  1194.  
  1195. Fixes bugs:
  1196.     - composefont defined the resource with the font name and font
  1197. directory interchanged.  (gs_cmap.ps)
  1198.     - With dFIXEDMEDIA, documents requesting other sizes caused an error
  1199. instead of clipping the page.  (gs_init.ps)
  1200.     - PageSize Policy = 7 wasn't implemented.  (However, the current
  1201. implementation is wrong.)  (gs_setpd.ps, zmedia2.c)
  1202.     - FontType resource 42 wasn't defined even if Type 42 fonts were
  1203. supported; similarly for FontType 9, 10, and 11 for CIDFonts.  (gs_cidfn.ps,
  1204. gs_res.ps)
  1205.     - The error handling machinery would break if the name /errordict
  1206. was redefined.  (gs_init.ps)
  1207.     - Level 1 systems got an /undefined in .doneshowpage.  (zdevice.c,
  1208. zdevice2.c)
  1209.     - Because of an initialization order problem, copy didn't work on
  1210. gstates.  (zgeneric.c)
  1211.  
  1212. Adds a naive implementation of findcolorrendering.  (gs_lev2.ps, gs_res.ps)
  1213.  
  1214. Removes the 'stopped' around run_string[_begin/continue/end] so that, as in
  1215. 4.03, errors print a hex dump and exit with a non-zero code instead of
  1216. printing a readable message and continuing.  (We aren't sure that this
  1217. change didn't undo the fix in 5.0 regarding calling startjob from
  1218. run_string.)  (gs_init.ps)
  1219.  
  1220. Interpreter (PDF)
  1221. -----------------
  1222.  
  1223. Fixes bugs:
  1224.     - stdin redirection failed for PDF files even if the new stdin was
  1225. seekable.  This was fixed in 4.02, but the fix stopped working with the
  1226. introduction of .runexec.  (pdf_main.ps)
  1227.  
  1228. Makes the cross-reference reader accept a startxref value that points at the
  1229. EOL before the xref line.  The Adobe documentation doesn't allow this, but
  1230. some real files are this way.  (pdf_main.ps)
  1231.  
  1232. Library
  1233. -------
  1234.  
  1235. Fixes bugs:
  1236.     - The bounding box of a completely empty path was reported as
  1237. garbage.  (gxpath2.c)
  1238.     - Stroking a path with more than one segment didn't produce correct
  1239. output when anti-aliasing was used.  (gspaint.c)
  1240.     - The alpha-buffer device returned an incorrect clipping box,
  1241. causing output to be discarded.  (gdevabuf.c)
  1242.     - gx_forward_get_clipping_box passed the wrong device to the target
  1243. procedure, producing incorrect results.  (gdevnfwd.c)
  1244.     - The sin/cos procedure did some unnecessary computations
  1245. (performance bug only).  (gsmisc.c)
  1246.     - The procedure for adjusting the ends of curves to match the
  1247. tangents did some unnecessary computations (performance bug only).
  1248. (gxpcopy.c)
  1249.     - RAM-based banding always gave an invalidfileaccess error, due to a
  1250. typo in memfile_fopen.  (gxclmem.c)
  1251.     - The algorithms for deciding whether a line is thin still weren't
  1252. correct.  (gxstroke.c)
  1253.     - The fill adjustment values for the any-part-of-pixel case (adjust
  1254. = 0.5) were (0.5-epsilon, 0.5+epsilon), which colored inappropriate
  1255. additional pixels if the higher coordinate was integral.  With considerable
  1256. trepidation, we have changed this to (0.5-epsilon,0.5), which does the right
  1257. thing in every case we can think of.  (gxfill.c)
  1258.     - When banding, paths were clipped to only 0.5 pixel outside their
  1259. bounding box, which may be slightly too conservative; 1 pixel is safer.
  1260. (gxclpath.c)
  1261.     - The algorithm for testing whether an adjusted Y value spanned a
  1262. pixel center was incorrect, causing some pixels to get colored incorrectly.
  1263. (gxfill.c)
  1264.     - 24-bit devices could cause a memory fault, by accessing a pointer
  1265. just beyond the end of the line pointer array.  (gdevm24.c)
  1266.     - Astonishingly enough, the determination of which hints were
  1267. applicable to a given segment of a Type 1 character was wrong in several
  1268. different places.  Fixing this in a way that correctly handled all allowed
  1269. permutations of the coordinate system was not simple.  (gxfont1.h,
  1270. gxhint1.c, gxhint3.c)
  1271.     - The debugging printout macros didn't include the syntactic hack to
  1272. prevent an 'else' from begin assigned to the wrong 'if'.  (gdebug.h)
  1273.     - The bbox device was accidentally limited to 130 x 130 pixels (not
  1274. 130" x 130").  (bug introduced in 5.0) (gdevbbox.c)
  1275.     - The bbox device didn't recognize PageBoundingBox in put_params,
  1276. causing a possible /undefined error on [g]restore.  (gdevbbox.c)
  1277.     - setlinewidth didn't take the absolute value of its operand.
  1278. (zgstate.c)
  1279.     - Some code formatting was slightly off.  (gximage5.c)
  1280.     - Some extra pixels were written for Interpolated images, but they
  1281. were immediately overwritten, so the output was correct.  (gximage5.c)
  1282.  
  1283. Changes the data flipping API from a macro to a procedure, adds a return
  1284. value, and makes the individual flipping procedures private.  (gsflip.h,
  1285. gsflip.c)
  1286.  
  1287. Adds (under an #ifdef FUTURE) code to allow passing multi-plane images
  1288. through the band list.  (gxclpath.h, gxclimag.c, gxclread.c)
  1289.  
  1290. Adds (under an #ifdef FUTURE) code to allow passing interpolated images
  1291. through the band list.  NOTE: interpolated images will appear slightly
  1292. different than without banding, because the part of the image intersecting
  1293. each band will be scaled slightly differently in the (device) Y direction.
  1294. (gxclpath.h, gxclimag.c, gxclread.c, gximage.c)
  1295.  
  1296. Changes Type 1 hinting so that when it moves points on a curve, it does so
  1297. by properly scaling the curve in the given direction.  (gxhint3.c)
  1298.  
  1299. Version 5.0 (6/6/97)
  1300. ====================
  1301.  
  1302. This is the first public release since 4.03.
  1303.  
  1304. Documentation
  1305. -------------
  1306.  
  1307. Fixes bugs:
  1308.     - Fontmap.Sol was incorrectly referred to as Fontmap.Solaris.
  1309. (use.txt)
  1310.     - There was still a reference to pstoppm in the documentation.
  1311. (psfiles.txt)
  1312.     - The JPEG DOS source site information was out of date.  (jpeg.mak)
  1313.     - The list of devices included in the distributed Unix makefiles was
  1314. out of date.  (make.txt)
  1315.     - The MCU size limitation on the DCT filters was documented
  1316. incorrectly.  (current.txt)
  1317.     - The URL for the uniprint driver home page was incorrect.
  1318. (devices.txt)
  1319.     - The makefiles referred to sfilefd.c, which is now named sfxfd.c.
  1320. (gs.mak, *.mak)
  1321.  
  1322. Adds a VMS help file.  (gs-vms.hlp)
  1323.  
  1324. Removes documentation for Digital Unix (OSF/1) 1.2 and 1.3, which are now
  1325. long obsolete, and updates the documentation for current versions.
  1326. (make.txt)
  1327.  
  1328. Notes that there may be a problem with libpng version 0.95.  (libpng.mak)
  1329.  
  1330. Adds some specific documentation for the JPEG drivers.  (devices.txt)
  1331.  
  1332. Adds a suggestion that people compiling Ghostscript check the values of
  1333. JVERSION and PVERSION.  (make.txt)
  1334.  
  1335. Removes the requirement for setting the LIB environment variable when
  1336. compiling with MSVC.  (make.txt)
  1337.  
  1338. Procedures
  1339. ----------
  1340.  
  1341. Fixes bugs:
  1342.     - There were a number of small errors in the new OpenVMS makefile.
  1343. (openvms.mak)
  1344.     - The MSVC makefiles omitted a necessary switch to work around some
  1345. "unspecified Pentium bugs".  (msvccom.mak)
  1346.     - The Borland makefile wasn't even close to working; fixing it
  1347. required moving the compilation rule for genarch.exe into the
  1348. compiler-specific makefiles.  (bcwin32.mak, msvccom.mak, watcw32.mak,
  1349. wincom.mak)
  1350.     - There were some (harmless) undefined macro references in the MSVC
  1351. makefile.  (msvccom.mak)
  1352.  
  1353. Makes it unnecessary to set the LIB environment variable for MSVC.
  1354. (msvc4.mak, msvc5.mak, wincom.mak)
  1355.  
  1356. Adds a note on compiling with the cygwin32 gcc compiler for Windows NT.
  1357. (make.txt)
  1358.  
  1359. Updates vms.mak yet again, hopefully for the last time.  (vms.mak)
  1360.  
  1361. Moves the CGM, JPEG, and MIFF file formats from DEVICE_DEVS8 to
  1362. DEVICE_DEVS14 to shorten command lines; adds pcxcmyk to all platforms that
  1363. include PCX format at all; adds jpeggray to all platforms that include jpeg.
  1364. (devs.mak, *.mak)
  1365.  
  1366. Adds -DPNG_USE_CONST for compiling libpng, to get rid of compiler warning
  1367. messages.  (gs.mak)
  1368.  
  1369. Removes obsolete makefiles from the fileset.  (tccommon.mak, tctail.mak)
  1370.  
  1371. Interpreter
  1372. -----------
  1373.  
  1374. Fixes bugs:
  1375.     - restore was broken if -dNOBIND was invoked.  This fix should have
  1376. been in the 4.81 fileset, but was left out due to operator error.
  1377. (gs_dps1.ps)
  1378.     - Some compilers complained about macro argument replacement within
  1379. a string literal.  (isave.c)
  1380.     -dSAFER didn't allow opening the %stdxxx files, which caused the
  1381. combination of -dSAFER and -dNOBIND to cause an infinite error.
  1382. (gs_init.ps)
  1383.     - If C code used run_string to execute a startjob, an error
  1384. occurred.  (gs_init.ps)
  1385.  
  1386. Library
  1387. -------
  1388.  
  1389. Fixes bugs:
  1390.     - Some compilers complained about macro argument replacement within
  1391. a string literal.  (gxclbits.c, gdevpdfi.c)
  1392.     - At certain resolutions, a 1-pixel line of the wrong color could
  1393. appear at one edge of landscape-oriented monobit images.  (This is the 4th
  1394. or 5th time we have "fixed" this one infuriatingly fragile piece of code.)
  1395. (gxfixed.h, gximage1.c)
  1396.     - The optimized code for landscape monobit images overlooked the
  1397. possibility of partial images, causing parts of images to be translated and
  1398. possibly clipped.  (Yes, it's that same fragile piece of code.)
  1399. (gximage1.c)
  1400.     - The bounding box device allowed resetting its resolution, which
  1401. could cause limitchecks from coordinate overflow.  Our fix is to initialize
  1402. the device to a very high resolution (4000 dpi), which reduces the maximum
  1403. page size it can handle to about 130" on a side.  (gdevbbox.c)
  1404.     - The bounding box device wasn't identified as a page device.
  1405. (gdevbbox.c)
  1406.     - The bounding box device used alone disregarded changes in page
  1407. size.  (gdevbbox.c)
  1408.     - One old compiler didn't allow a structure member name to be the
  1409. same as a typedef name.  (gximage.h, gximage.c, gximage4.c)
  1410.     - The height and band intersection computations for banded images
  1411. still weren't right, leading to inconsistencies in the band list and errors
  1412. in the output (typically, thin horizontal white stripes at band boundaries).
  1413. (gxclimag.c)
  1414.  
  1415. Adds an extensive memory dump facility to the standard allocator.
  1416. Eventually this should be moved into a separate file, but it would be too
  1417. disruptive to do this just before a release.  (gsalloc.c)
  1418.  
  1419. Version 4.81 (6/1/97)
  1420. =====================
  1421.  
  1422. This is a last-minute set of bug fixes before the 5.0 release.
  1423.  
  1424. Documentation
  1425. -------------
  1426.  
  1427. Adds some overlooked helpers to the list.  (helpers.txt)
  1428.  
  1429. Procedures
  1430. ----------
  1431.  
  1432. Makes a distinction between 2-part and 3-digit version numbers.
  1433. (version.mak, vms.mak)
  1434.  
  1435. Utilities
  1436. ---------
  1437.  
  1438. Develops the Type 1 to CFF converter a little further; it is still NOT
  1439. USABLE.  (t1tot2.ps)
  1440.  
  1441. Removes the pstoppm.ps script, since the p*m drivers supersede it.
  1442. (pstoppm.ps, unix-end.mak)
  1443.  
  1444. Drivers
  1445. -------
  1446.  
  1447. Fixes bugs:
  1448.     - The PDF writer sometimes omitted an ET command before setting the
  1449. clip path.  (gdevpdf.c)
  1450.     - The PDF writer didn't initialize the "vector" state, leading to
  1451. some redundant output (performance bug only).  (gdevpdf.c)
  1452.     - The PDF writer wrote clip paths even when they included the entire
  1453. page (performance bug only).  (gdevpdf.c)
  1454.  
  1455. Changes the PDF writer so that it recognizes not only the 14 built-in fonts
  1456. but any font with the same UniqueID and metrics.  This covers some common
  1457. cases of re-registering a font with a variant Encoding.  (gs_pdfwr.ps)
  1458.  
  1459. Platforms
  1460. ---------
  1461.  
  1462. Fixes bugs:
  1463.     - SEARCH_HERE_FIRST was accidentally set to 0 on MS Windows
  1464. platforms.  (bcwin32.mak, msvc4.mak, msvc5.mak, watcw32.mak)
  1465.  
  1466. Adds code to remove "" around arguments in the command line passed to
  1467. WinMain (MS Windows platforms).  (dwmain.cpp, dwmainc.cpp)
  1468.  
  1469. Interpreter
  1470. -----------
  1471.  
  1472. Fixes bugs:
  1473.     - setsystemparams was broken.  (gs_lev2.ps)
  1474.     - restore was broken if -dNOBIND was invoked.  (gs_dps1.ps)
  1475.     - deviceinfo returned much more information than it should.
  1476. (gs_dps.ps)
  1477.     - The fix for the default EndPage procedures not popping their page
  1478. count operand from the stack was wrong.  (gs_init.ps, gs_setpd.ps)
  1479.  
  1480. Library
  1481. -------
  1482.  
  1483. Fixes bugs:
  1484.     - The saved character origin took the translation component of the
  1485. FontMatrix into account, which caused charpath on fonts with non-zero
  1486. translation in the FontMatrix to produce incorrect results.  (gschar.c)
  1487.  
  1488. Removes incorrect access attributes on a couple of files.  (gdevpdfm.c,
  1489. gxclist.h)
  1490.  
  1491. Version 4.80(limited) (5/28/97)
  1492. =====================
  1493.  
  1494. This is the candidate fileset for the 5.0 release.
  1495.  
  1496. Documentation
  1497. -------------
  1498.  
  1499. Fixes bugs:
  1500.     - The one-line description of the color image rendering module was
  1501. incorrect.  (gximage3.c)
  1502.     - Some of the VMS documentation was out of date.  (make.txt,
  1503. use.txt)
  1504.     - The description of the file name separator for -sFONTMAP= was
  1505. wrong.  (use.txt)
  1506.     - PSFile was misspelled PSfile.  (use.txt)
  1507.     - There were some minor typos.  (gstype1.h)
  1508.     - The build instructions had a lot of obsolete information for PC
  1509. environments, and didn't cover Microsoft Visual C++.  (make.txt)
  1510.  
  1511. Explains that -sPAPERSIZE= only specifies the default papersize, and that
  1512. forcing a particular paper size also requires -dFIXEDMEDIA.  (use.txt)
  1513.  
  1514. Adds information about building with GNU make on OpenVMS.  (make.txt)
  1515.  
  1516. Clarifies the meaning of EOFC for streams.  (strimpl.h)
  1517.  
  1518. Documents the new dictionary argument for the eexecDecode filter.
  1519. (language.doc)
  1520.  
  1521. Procedures
  1522. ----------
  1523.  
  1524. Fixes bugs:
  1525.     - gs_epsf.ps didn't get installed on Unix systems.  (unix-end.mak)
  1526.     - The code wouldn't build with libpng 0.95b.  (libpng.mak)
  1527.     - One of the VMS scripts used CC_QUAL instead of CC_DEF.
  1528. (vms-cc.mak)
  1529.     - version.mak wasn't included in a dependency list.  (unix-end.mak)
  1530.  
  1531. Brings the VMS DCL script up to date again (for the last time, we hope).
  1532. (vms.mak)
  1533.  
  1534. Modifies all platform-independent uses of upper-case command line arguments
  1535. to deal properly with VMS, where the shell converts all command line
  1536. arguments to lower case, without requiring quotation.  (devs.mak, gs.mak,
  1537. int.mak, lib.mak, zlib.mak)
  1538.  
  1539. Moves the compilation rules for the third-party libraries into gs.mak, so
  1540. they can be used to compile the callers as well.  (gs.mak, jpeg.mak,
  1541. libpng.mak, zlib.mak)
  1542.  
  1543. Adds a set of files that allow building on OpenVMS using GNU make (slightly
  1544. patched).  The timing on this is unfortunate, but we've wanted this for a
  1545. very long time.  NOTE: be sure to look in the OpenVMS section of make.txt
  1546. for information on patching GNU make.  (openvms.mak, append_l.com,
  1547. rm_all.com, rm_one.com, copy_one.com)
  1548.  
  1549. Adds new makefiles for building on 32-bit Windows with Borland, Watcom, and
  1550. Microsoft Visual C++ (versions 4.x and 5.0).  The timing on this is
  1551. unfortunate too, but having this capability is so important that we couldn't
  1552. pass it up.  (bcwin32.mak, msvc4.mak, msvc5.mak, msvccom.mak, watcw32.mak,
  1553. wincom.mak)
  1554.  
  1555. Removes now-obsolete makefiles.  (dwcommon.mak, msc.mak, msvcwint.mak,
  1556. mscbegin.bat, watcwin.mak)
  1557.  
  1558. Utilities
  1559. ---------
  1560.  
  1561. Extends echogs to work in VMS environments, where the shell converts all
  1562. command line arguments to lower case, without requiring quotation.
  1563. (echogs.c)
  1564.  
  1565. Adds a sketch of a utility for converting Type 1 fonts to CFF.  DOESN'T WORK
  1566. YET: DON'T TRY TO USE IT.  (t1tot2.ps, type1ops.ps, writecff.ps)
  1567.  
  1568. Drivers
  1569. -------
  1570.  
  1571. Fixes bugs:
  1572.     - A type declaration wasn't compatible with libpng 0.95.
  1573. (gdevpng.c)
  1574.     - kshow wasn't handled properly when producing PDF output.
  1575. (gs_pdfwr.ps)
  1576.     - The PDF writer put out unnecessary ET/BT commands.  (gdevpdfx.h,
  1577. gdevpdf.c, gdevpdfi.c, gdevpdfm.c, gdevpdft.c)
  1578.     - The PCL XL writer put out real numbers for the miter limit, which
  1579. are not allowed (!).  (gdevpx.c)
  1580.     - The PCL XL writer didn't combine successive curves into a single
  1581. curve command (performance bug only).  (gdevpx.c)
  1582.     - The PCL XL writer could write uncompressed images with a tag
  1583. saying they were compressed.  (gdevpx.c)
  1584.     - The PCL XL writer always selected U.S. letter paper, rather than
  1585. the requested size.  (gdevpxen.h, gdevpx.c)
  1586.     - The PCL XL writer reselected the paper size on every page, even if
  1587. it hadn't changed.  (gdevpx.c)
  1588.     - The PCL XL writer always used shorts for line and curve
  1589. coordinates, rather than using bytes when possible (performance bug only).
  1590. (gdevpx.c)
  1591.     - Because of a compiler bug, a macro with argument conflicted with a
  1592. variable name.  (gdevpdfx.h, gdevpdf.c)
  1593.     - A picky compiler objected to an extern for an undefined structure.
  1594. (gdevpsdf.h)
  1595.     - The PDF writer sometimes didn't reset the clipping path, causing
  1596. bitmaps or rectangle to disappear.  (gdevpdf.c, gdevpdfi.c)
  1597.     - The PDF writer produced invalid output if the first page was
  1598. blank.  (gdevpdf.c)
  1599.     - The AutoRotatePages parameter for PostScript and PDF output (which
  1600. doesn't actually do anything yet) incorrectly expected a Boolean value
  1601. rather than an enumeration.  (gdevpsdf.h, gdevpsdf.c)
  1602.     - Some places returned -1 for an error without calling gs_note_error
  1603. or gs_return_error.  (gdevm1.c, gdevmpla.c, gdevrun.c, gxclpath.c)
  1604.     - The PCL XL writer produced extremely large files because it didn't
  1605. download character bitmaps.  (OK, this isn't really a bug fix.)  (gdevpx.c)
  1606.     - The forwarding implementation of get_page_device didn't do the
  1607. right thing.  (gdevnfwd.c)
  1608.     - The x11alpha device didn't implement get_params properly, leading
  1609. to anomalous behavior.  (gdevxalt.c)
  1610.     - The PDF writer produced incorrect Count values for outlines: the
  1611. count only counted descendant leaves, omitting intermediate nodes.
  1612. (gdevpdfm.c)
  1613.  
  1614. Removes an assumption that images have at most 4 components.  (gdevpdfi.c)
  1615.  
  1616. Adds an x11gray2 device, primarily for debugging.  (devs.mak, gdevxalt.c)
  1617.  
  1618. Updates the unified printer driver with a newer version.  (uninfo.ps,
  1619. gdevupd.c, *.upp)
  1620.  
  1621. Platforms
  1622. ---------
  1623.  
  1624. Adds the P*M devices and the X11 devices (commented out) to the OS/2
  1625. makefile.  (os2.mak)
  1626.  
  1627. Updates the MS Windows platform to be compatible with Microsoft Visual C++
  1628. (as well as Watcom and Borland compilers).  (gsdll32.def, gdevmswn.h,
  1629. gp_mswin.h, gsdll.h, dwimg.cpp, dwmain.cpp, dwmainc.cpp, dwtext.cpp,
  1630. gdevwdib.c, gdevwprn.c, gdevwpr2.c, gp_mswin.c, gsdll.c)
  1631.  
  1632. Fonts
  1633. -----
  1634.  
  1635. Fixes bugs:
  1636.     - Certain synthetic fonts incorrectly were loaded into local rather
  1637. than global VM.  (These fonts are not part of the standard distribution.)
  1638. (gs_fonts.ps, gs_pfile.ps, *ss*.ps)
  1639.  
  1640. Interpreter
  1641. -----------
  1642.  
  1643. Fixes bugs:
  1644.     - The FAKEFONTS scan could leave junk on the stack.  (gs_fonts.ps)
  1645.     - Dynamically loading known encodings on demand left junk on the
  1646. stack, causing a typecheck error.  (gs_res.ps)
  1647.     - Some 'static' declarations were missing (gcc lossage).  (iname.c)
  1648.     - Some internal operators didn't have names, leading to unhelpful
  1649. error printout.  (zfileio.c)
  1650.     - The resource "operators" didn't always restore the stacks properly
  1651. on an error.  (gs_res.ps)
  1652.     - The CID font code left a garbage value on the stack during
  1653. loading.  (gs_cidfn.ps)
  1654.     - The defineresource implementation for built-in resources like
  1655. FMapType didn't leave the resource "value" on the stack.  (gs_res.ps)
  1656.     - If an operator defined by a procedure was bound into a packed
  1657. procedure, the stack-protection feature wasn't effective.  (interp.c)
  1658.     - findfont didn't restore the stack if it failed.  (gs_res.ps)
  1659.     - The showpage count passed to the BeginPage and EndPage procedures
  1660. was incremented only if a page was printed, rather than for every invocation
  1661. of showpage.  (gs_init.ps, zdevice2.c)
  1662.     - The default EndPage procedures didn't pop their page count operand
  1663. from the stack.  (gs_init.ps, gs_setpd.ps)
  1664.     - If the argument of findfont wasn't a name or a string, and no font
  1665. with that key had been registered, an error occurred.  (gs_fonts.ps,
  1666. gs_res.ps)
  1667.  
  1668. Updates most of the remaining pseudo-operators to take advantage of stack
  1669. protection.  (gs_btokn.ps, gs_cmap.ps, gs_dps1.ps, gs_dps2.ps, gs_fonts.ps,
  1670. gs_lev2.ps, gs_pdfwr.ps)
  1671.  
  1672. Splits the image operators into a separate file from the path painting
  1673. operators.  (This should have been done a long time ago.)  (iimage.h,
  1674. zimage.c, zpaint.c)
  1675.  
  1676. Adds more of the implementation of the NeXT alpha and compositing
  1677. operations, under an #ifdef DPNEXT.  (iimage.h, zcolor1.c, zdpnext.c,
  1678. zimage.c)
  1679.  
  1680. Adds more of the implementation of DPS contexts.  These are still not
  1681. usable.  (icontext.h, icontext.c, zcontext.c, zmath.c)
  1682.  
  1683. Changes the help message to describe -dBATCH instead of -c quit.
  1684. (imainarg.c)
  1685.  
  1686. Recognizes the dictionary argument for the eexecDecode filter.  (zmisc1.c)
  1687.  
  1688. Streams
  1689. -------
  1690.  
  1691. Fixes bugs:
  1692.     - The tracing message when starting to decode 1-D fax data reported
  1693. the run_color incorrectly.  (scfd.c)
  1694.     - In the CCITTFaxDecode filter, if a buffer boundary fell between a
  1695. makeup code and a final zero-length termination code, an ioerror could
  1696. occur.  (scfd.c)
  1697.     - Per Adobe, in the CCITTFaxDecode filter, EndOfBlock = true should
  1698. cause Rows to be ignored.  (scfd.c)
  1699.     - If an output stream returned EOFC, an infinite loop might result.
  1700. This problem (and the fix) are in the same fragile code as the EOD fix in
  1701. 4.74, and we may again have introduced a new bug.  (stream.c)
  1702.  
  1703. Changes the eexecDecode filter so that instead of a number, it can take a
  1704. dictionary with two keys, seed and lenIV.  (Having eexecDecode skip initial
  1705. bytes at all was a design bug that is too late to fix.)  (sfilter.h,
  1706. seexec.c)
  1707.  
  1708. Library
  1709. -------
  1710.  
  1711. Fixes bugs:
  1712.     - The default mapping from RGB+alpha to RGB didn't lighten
  1713. (premultiply) the color according to the alpha value.  (gxcmap.c)
  1714.     - The angle error metric for rational tangent screen parameters
  1715. should be simply the difference in angle, not a ratio.  (gshtscr.c)
  1716.     - gs_setcolorscreen and gs_sethalftone didn't initialize an
  1717. allocator pointer, leading to memory access errors.  (gsht1.c)
  1718.     - If a banded image was clipped, an invalid band list could be
  1719. produced.  (gxclimag.c)
  1720.     - A picky compiler wouldn't allow an enum to be &&'ed with a
  1721. boolean.  (gschar.c)
  1722.     - A short-sighted compiler didn't allow the use of actual procedure
  1723. names (as opposed to procedure variables) in a conditional expression.
  1724. (gxfill.c)
  1725.     - A compiler objected to a name longer than 31 characters.  (gzht.h,
  1726. gsht.c, gxclread.c)
  1727.     - The height computations for banded images were not consistent,
  1728. possibly leading to invalid band lists.  (gxclimag.c)
  1729.     - copypage didn't reset the band writer and band reader bookkeeping
  1730. consistently, leading to incorrect output and possible errors.  (gxcldev.h,
  1731. gxclist.c, gxclread.c)
  1732.     - When banding, changing the halftone could lead to accessing memory
  1733. after freeing it.  (gxclread.c)
  1734.     - When using disk files for band storage, showpage didn't actually
  1735. delete or truncate the band list file, possibly causing subsequent copypage
  1736. operations to become confused.  (gxclfile.c)
  1737.     - When banding, having more than one image operator in progress at a
  1738. time confused the rasterizing pass and could produce arbitrary errors.  From
  1739. PostScript, this can only happen in the case of an image whose data source
  1740. was a procedure-based stream that itself invoked an image operator: this is
  1741. a senseless and perverse thing to do, but it shouldn't break the code (and a
  1742. Genoa CET file actually does it).  (gxclist.h, gxclimag.c, gxclist.c)
  1743.     - Some picky compilers objected to negating unsigned values.
  1744. (gsuid.h, gsht.c, gsmemory.c, gxpcopy.c)
  1745.     - When banding, if a 90- or 270-degree rotated monobit image was
  1746. clipped, invalid memory accesses could occur.  (gximage.h, gximage1.c)
  1747.     - The showpage count passed to the BeginPage and EndPage procedures
  1748. was incremented only if a page was printed, rather than for every invocation
  1749. of showpage.  Fixing this requires removing the incrementing of the count
  1750. from the library level altogether.  (gsdevice.c)
  1751.     - When rendering a subrectangle of an image, the X DDA was
  1752. initialized incorrectly, causing possible errors.  We think this only
  1753. affected certain banded images.  (gxdda.h)
  1754.  
  1755. Adds a provision for images with an alpha component, under an #ifdef DPNEXT.
  1756. ****** THE BANDING CODE HAS NOT BEEN UPDATED YET. ******  (gsiparam.h,
  1757. gxcmap.h, gxdither.h, gximage.h, gsimage.c, gxclimag.c, gxclread.c,
  1758. gxcmap.c, gximage.c, gximage3.c, gximage4.c ****** NOT DONE YET ******,
  1759. gximage5.c)
  1760.  
  1761. Adds a return_if_error macro to capture the common idiom of making a call
  1762. and then returning its value if that value is negative (error).  (gserror.h)
  1763.  
  1764. Version 4.74(limited) (5/5/97)
  1765. =====================
  1766.  
  1767. This fileset is supposed to fix all remaining errors reported by the Genoa
  1768. CET, and is intended to be the last incremental test fileset before the 5.0
  1769. release.
  1770.  
  1771. Documentation
  1772. -------------
  1773.  
  1774. Fixes bugs:
  1775.     - Mark procedures are *not* executed in the normal return case.
  1776. (estack.h)
  1777.     - The line_params element of a gs_imager_state is *not* allocated
  1778. separately.  (gsstate.c)
  1779.     - The value passed to the PDF writer for text is a dictionary, not
  1780. an array.  (gdevpdft.c)
  1781.  
  1782. Improves the documentation of gstate memory management.  (gsstate.c)
  1783.  
  1784. Documents end_status = EOFC for writing streams.  (stream.h, strimpl.h)
  1785.  
  1786. Clarifies memory management for halftones and device halftones.  (gsht1.h,
  1787. gxdht.h, gxht.h, gzht.h)
  1788.  
  1789. Removes the "experimental" tag from the PostScript and EPS writers.
  1790. (devs.mak)
  1791.  
  1792. Utilities
  1793. ---------
  1794.  
  1795. Fixes bugs:
  1796.     - The viewpcx utility scaled images improperly.  (viewpcx.ps)
  1797.     - If a PDF file used F instead of f for filling a path, pdf2ps
  1798. didn't output the fill operation.  (pdf_base.ps)
  1799.  
  1800. Changes the ps2pdf script so that, like pdf2ps, it allows debugging
  1801. switches.  (ps2pdf)
  1802.  
  1803. Drivers
  1804. -------
  1805.  
  1806. Fixes bugs:
  1807.     - The vgalib driver didn't clip monobit images properly.
  1808. (gdevvglb.c)
  1809.     - The X driver asked for exposure events to be reported, but never
  1810. read them, causing the event queue to grow indefinitely.  (gdevxini.c)
  1811.     - The "vector" drivers and the PDF writer didn't properly keep track
  1812. of whether the current clipping region was the default one.  (gs_pdfwr.ps,
  1813. gdevvec.h, gdevvec.c, gdevpdf.c, gdevpdft.c)
  1814.     - The PDF writer had word and character spacing interchanged.
  1815. (gdevpdft.c)
  1816.     - The PDF writer scaled word and character spacing incorrectly.
  1817. (gdevpdft.c)
  1818.  
  1819. Interpreter
  1820. -----------
  1821.  
  1822. Fixes bugs:
  1823.     - The user object operators didn't leave the stack in a clean state
  1824. if they failed.  (gs_dps2.ps)
  1825.     - UserObjects wasn't actually defined.  (gs_dps2.ps)
  1826.     - deviceinfo and set/currenthalftonephase were defined even if the
  1827. dps feature wasn't selected.  (int.mak, gs_dps.ps, gs_dps1.ps, gs_lev2.ps,
  1828. zdps.c, zdps1.c)
  1829.     - The dps feature didn't automatically include the level2 feature,
  1830. which it needs.  (int.mak)
  1831.     - The DPS user names mechanism didn't work, since the user names
  1832. array was subject to save and restore.  (It still doesn't really work --
  1833. there is no provision for expanding the user names array, which is created
  1834. with length 0.)  (gs_btokn.ps, ivmspace.h, zbseq.c, zdps.c)
  1835.     - The DPS context operators didn't do all the necessary error
  1836. checking.  (zcontext.c)
  1837.     - The debugging printout for names printed the name index in hex
  1838. without identifying it as such.  (idebug.c)
  1839.     - Adding the first non-name key (or name key with a name index
  1840. beyond 4K) to a dictionary that had any deleted entries could cause some
  1841. entries to apparently disappear.  (idict.c)
  1842.     - If a sub-table of the name table was freed during garbage
  1843. collection, memory could be left in an inconsistent state.  (iname.c, igc.c)
  1844.     - findfont didn't restore the stacks reliably if an error occurred.
  1845. (gs_fonts.ps)
  1846.     - definefont with an invalid Type 0 font sometimes added a FID entry
  1847. (with a dangling pointer) if it failed.  (Recovering properly from a VMerror
  1848. during font creation would require a much more complicated fix than this,
  1849. but since we expect a garbage collection to occur in that case, we aren't
  1850. concerned about it.)  (zfont0.c)
  1851.     - Reading parameter values from a dictionary could access beyond the
  1852. end of the array that keeps track of which entries had been referenced.
  1853. (idict.h, idict.c, iparam.c)
  1854.     - Halftone data was allocated in the current VM rather than in the
  1855. same VM as the halftone dictionary or procedure.  (Fixing this includes
  1856. updating code as necessary for the change in halftone and device halftone
  1857. allocation.)  (iht.h, ivmspace.h, zht.c, zht1.c, zht2.c)
  1858.     - Closed non-executable files on the e-stack could cause a restore
  1859. to be invalid.  (zvmem.c)
  1860.  
  1861. Adds skeleton code for the NeXT Display PostScript alpha and compositing
  1862. operators.  This is not ready for use yet!  (errors.h, gs_dpnxt.ps,
  1863. zdpsnext.c)
  1864.  
  1865. Implements more of state saving and restoring for Display PostScript
  1866. contexts.  This is not ready for use yet either.  (int.mak, icontext.h,
  1867. istack.h, icontext.c, zcontext.c)
  1868.  
  1869. Adds stub code for the Display PostScript view clip operators.  (gs_dps.ps,
  1870. zdps.c)
  1871.  
  1872. Removes the obsolete PPM-writing operator.  (int.mak, vms.mak, *.mak,
  1873. zwppm.c)
  1874.  
  1875. Makes the random number generator state public so it can be stored in the
  1876. context state.  (zmath.c)
  1877.  
  1878. Changes the flag for forcing global garbage collection to a run-time
  1879. variable, for debugging.  (igc.c)
  1880.  
  1881. Changes the handling of job control so that it doesn't use procedures that
  1882. produce an execstackoverflow when being printed.  (gs_init.ps)
  1883.  
  1884. Updates code as necessary for the change in reference counting.  (zcie.c,
  1885. zcrd.c)
  1886.  
  1887. Updates code as necessary for the change in off-stack gstate copying.
  1888. (zdps1.c)
  1889.  
  1890. Removes a small bit of obsolete code.  (interp.c)
  1891.  
  1892. Streams
  1893. -------
  1894.  
  1895. Fixes bugs:
  1896.     - An output stream that was not the last one in a pipeline could
  1897. incorrectly be asked to write its EOD marker more than once.  (The fix is
  1898. very fragile and may have introduced new bugs.)  (stream.c)
  1899.  
  1900. Library
  1901. -------
  1902.  
  1903. Fixes bugs:
  1904.     - The gx_device_halftone_release procedure was declared in two
  1905. different header files.  (gzht.h)
  1906.     - Off-stack copying of gstates could lead to a situation where
  1907. different parts of a single gstate were owned by different allocators; this
  1908. could cause them to be freed improperly, corrupting memory.  We fixed this
  1909. partly by making the mixed ownership situation work, and partly by copying
  1910. more of the gstate when off-stack gstates are involved.  Unfortunately, the
  1911. fixes are subtle and may have introduced new bugs.  (gsstate.h, gsht.c,
  1912. gsht1.c, gspcolor.c, gsstate.c)
  1913.     - If an error occurred while creating a Pattern instance, the
  1914. partially initialized instance structure wasn't freed.  (gspcolor.c)
  1915.     - Halftones and device halftones didn't allocate their clones or
  1916. their subsidiary structures with the correct allocator.  (gsht.c, gsht1.c)
  1917.     - The error statement when allocating a reference-counted object had
  1918. to be a control transfer.  (gsrefct.h)
  1919.     - Copying gstates incorrectly copied the memory and saved pointers,
  1920. and the pointer to the dash pattern.  (gsstate.c)
  1921.     - Flatness values less than 0.5 produced far more line segments than
  1922. necessary (roughly the square of the required number).  Fixing this may have
  1923. bad effects on character quality -- this remains to be seen.  (gxpflat.c)
  1924.     - An error during installation of a halftone could leave things in
  1925. an inconsistent state.  (gsht.c)
  1926.     - The API didn't provide enough flexibility with respect to memory
  1927. management for halftones, or guarantee consistent allocation of a halftone
  1928. and its subelements.  (gsht1.h, gsht.c, gsht1.c, gshtscr.c)
  1929.     - Releasing a path didn't clear enough pointers to ensure clean
  1930. garbage collection.  (gxpath.c)
  1931.     - Finalizing or discarding a (cached) scaled font didn't properly
  1932. unlink it from the scaled_fonts list.  (gsfont.c)
  1933.     - Invoking an image operator within the BuildChar procedure for a
  1934. charpath caused an infinite loop.  (gsimage.c)
  1935.     - The bookkeeping for the scaled font cache was incorrect: the count
  1936. didn't always get decremented when a scaled font was freed.  (gsfont.c)
  1937.     - "High level" masked images were written incorrectly in the band
  1938. list as black-and-white images.  (gxclimag.c)
  1939.     - For "high level" images with fewer than 4 samples per pixel,
  1940. non-standard Decode values were written incorrectly in the band list.
  1941. (gxclimag.c)
  1942.     - The color wasn't set correctly for "high level" masked images.
  1943. (gxclimag.c)
  1944.     - The fastest case of monobit image rendering could get a memory
  1945. access error if the image lay partly outside the page.  (gximage1.c)
  1946.     - Clipping with an empty path was a no-op, rather than clipping out
  1947. everything.  (gxcpath.c)
  1948.  
  1949. Makes reference-counted objects remember which allocator owns them: this
  1950. entails a NON-BACKWARD-COMPATIBLE change to some of the macros for reference
  1951. counting.  This was necessary to fix the off-stack gstate copying problem.
  1952. (gsrefct.h, gscie.c, gscolor.c, gscolor1.c, gscolor2.c, gscsepr.c,
  1953. gsstate.c, gxclread.c)
  1954.  
  1955. Refactors the unpacking of image data, to make unpacking available as a
  1956. general facility.  (gximage.h, gxsample.h, gximage.c, gximage0.c,
  1957. gximage1.c, gximage4.c, gxsample.c)
  1958.  
  1959. Enhances -Z? so that before freeing an object, it checks that the object was
  1960. owned by the correct allocator.  (gsalloc.c)
  1961.  
  1962. Version 4.73(limited) (4/19/97)
  1963. =====================
  1964.  
  1965. This is an incremental bug fix release made primarily to provide a
  1966. synchronization point for an upcoming trip.
  1967.  
  1968. Documentation
  1969. -------------
  1970.  
  1971. Fixes bugs:
  1972.     - A reference to the uniprint documentation was incorrect.
  1973. (current.txt)
  1974.     - -Olimit 1000 is not enough now for DEC Ultrix, 1200 is required;
  1975. this is also required for SGI IRIX.  (make.txt)
  1976.  
  1977. Adds argument/result comments to all the operators defined in gs_lev2.ps.
  1978. (Eventually we will do this for all operators defined as PostScript
  1979. procedures.)  (gs_lev2.ps)
  1980.  
  1981. Procedures
  1982. ----------
  1983.  
  1984. Fixes bugs:
  1985.     - The makefiles didn't provide a default value for GCONFIG_EXTRAS.
  1986. (gs.mak)
  1987.  
  1988. Utilities
  1989. ---------
  1990.  
  1991. Fixes bugs:
  1992.     - pdf2ps didn't work with TrueType or compressed Type 1 fonts.
  1993. (gs_pdf.ps, pdf_2ps.ps, pdf_font.ps)
  1994.  
  1995. Drivers
  1996. -------
  1997.  
  1998. Fixes bugs:
  1999.     - A cast from byte to char was omitted.  (gdevpdfm.c)
  2000.  
  2001. Platforms
  2002. ---------
  2003.  
  2004. Updates the VMS script (again).  (vms.mak)
  2005.  
  2006. Interpreter
  2007. -----------
  2008.  
  2009. Fixes bugs:
  2010.     - A module that used strlen didn't include string_.h.  (zdevice.c)
  2011.     - Because of some bad PostScript code in FrameMaker output, identity
  2012. rather than unity black generation and undercolor removal functions are
  2013. required on black-and-white devices.  (gs_init.ps)
  2014.     - A harmless internal error during initialization left bogus
  2015. information in $error.  (gs_cidfn.ps)
  2016.     - startjob didn't clear the execution stack.  Fixing this required
  2017. NON-BACKWARD-COMPATIBLE changes to the internal operators .instopped, .stop,
  2018. and .stopped, which are not supposed to be used by any external code.
  2019. (startjob will still give errors if executed in a file that isn't being
  2020. piped from stdin; this will take longer to fix.)  (gs_init.ps, gs_lev2.ps,
  2021. iref.h, imain.c, interp.c, zcontrol.c, zfile.c)
  2022.  
  2023. Adds a new .execn operator, part of the startjob changes, that allows
  2024. pushing multiple items on the exec stack.  Eventually this will allow us to
  2025. get rid of many dynamically created closures.  (zcontrol.c)
  2026.  
  2027. Interpreter (PDF)
  2028. -----------------
  2029.  
  2030. Fixes bugs:
  2031.     - Landscape-mode PDF files weren't rotated properly.  (gs_pdf.ps,
  2032. pdf_main.ps)
  2033.  
  2034. Makes the default PDF configuration notify users more informatively when
  2035. encountering an encrypted file.  (pdf_sec.ps)
  2036.  
  2037. Streams
  2038. -------
  2039.  
  2040. Makes the RunLengthEncode filter always generate optimally compressed
  2041. output.  We did this because we thought one of the Genoa CET files loops
  2042. forever if this is not the case; but we were wrong.  (srle.c)
  2043.  
  2044. Library
  2045. -------
  2046.  
  2047. Fixes bugs:
  2048.     - If one coordinate of a position or distance overflowed the
  2049. internal representable range, the other coordinate became garbage.  (bug
  2050. introduced in 4.70) (gspath.c)
  2051.     - The bounding box computation for strokes was slightly too large
  2052. (sometimes much too large).  (gxpaint.h, gdevbbox.c, gxclpath.c, gxstroke.c)
  2053.  
  2054. Adds (under an #if 0) an experimental alternate halftone cell choice
  2055. algorithm.  (gshtscr.c)
  2056.  
  2057. Adds a better comment to a particularly obscure line of C code.
  2058. (gxclimag.c)
  2059.  
  2060. Version 4.72(limited) (4/14/97)
  2061. =====================
  2062.  
  2063. This is another bug fix release, motivated mostly by Genoa testing.  It also
  2064. updates the new uniprint driver with a major revision, and upgrades CFF
  2065. support a little bit.
  2066.  
  2067. Documentation
  2068. -------------
  2069.  
  2070. Fixes bugs:
  2071.     - -dNOGC only disables default automatic garbage collection, not all
  2072. garbage collection.  (use.txt)
  2073.     - Apparently a different set of flags is needed for newer H-P
  2074. compilers.  (make.txt)
  2075.  
  2076. Replaces the tiny FAQ with a pointer to the on-line FAQ.  (use.txt)
  2077.  
  2078. Updates the documentation for the uniprint driver.  (devices.txt)
  2079.  
  2080. Clarifies the fact that Ghostscript reads Fontmap files from *all*
  2081. directories in the search list.  (use.txt)
  2082.  
  2083. Notes that building on Linux may require SM and ICE in the list of X
  2084. libraries.  (make.txt)
  2085.  
  2086. Procedures
  2087. ----------
  2088.  
  2089. Fixes bugs:
  2090.     - An -include type42 was omitted from the level2 module description.
  2091. (int.mak)
  2092.     - A mention of $(ECHOGS) in the rule for sfile should have been
  2093. $(ECHOGS_XE).  (lib.mak)
  2094.     - The pcx2up sample device should have been put in devs.mak rather
  2095. than lib.mak.  (devs.mak, lib.mak)
  2096.     - scanchar.h and scantab.c belong in the library, not the
  2097. interpreter.  (devs.mak, int.mak, lib.mak)
  2098.     - Some _h definitions were used before being defined, or weren't
  2099. defined at all.  (devs.mak, lib.mak)
  2100.     - The JPEG driver was missing a dependency.  (devs.mak)
  2101.     - The PDF writer was missing a dependency.  (devs.mak)
  2102.     - Building Level 1 systems was no longer possible.  (int.mak)
  2103.  
  2104. Updates the VMS build scripts.  (vms.mak, vms-decc.mak)
  2105.  
  2106. Adds *.upp to the list of files installed under Unix.  (unix-end.mak)
  2107.  
  2108. Adds rules to the Unix makefiles to build two library files: gs.a,
  2109. consisting of the entire PostScript/PDF interpreter lacking only gs.c, and
  2110. gslib.a, consisting of the graphics library without the gslib.c test driver.
  2111. (ansihead.mak, cc-head.mak, gcc-head.mak, unixtail.mak)
  2112.  
  2113. Drivers
  2114. -------
  2115.  
  2116. Fixes bugs:
  2117.     - The PS/EPS writers could generate a reference to an undefined
  2118. name.  (gdevps.c)
  2119.     - The PDF writer produced incorrect output for multi-level outlines.
  2120. (gdevpdfm.c)
  2121.     - The PDF writer didn't convert /Action to /A, and /Action/Subtype
  2122. to /S, in Annot dictionaries.  (gdevpdfm.c)
  2123.     - The PDF writer didn't work in Level 1 systems.  (gs_pdfwr.ps)
  2124.     - The PDF writer didn't transform /Rect and /R values to current
  2125. user coordinates.  (gs_pdfwr.ps, gdevpdfx.h, gdevpdfm.c)
  2126.     - The PNG writer could refer to the 3 predefined stdio files even in
  2127. environments where this was undesirable.  (gdevpng.c)
  2128.     - The PDF writer had a compiled-in limit of 100 pages of output.
  2129. (gdevpdfx.h, gdevpdf.c)
  2130.  
  2131. Updates the uniprint driver with a major revision that uses device
  2132. parameters that can be set from the command line, rather than PostScript
  2133. code, for configuration choices.  (gdevupd.c, *.upp)
  2134.  
  2135. Platforms
  2136. ---------
  2137.  
  2138. Fixes bugs:
  2139.     - gp_enumerate_files_next had no way to return an error.  (gp.h,
  2140. gp_dosfe.c, gp_ntfs.c, gp_os2.c, gp_unifs.c, gp_vms.c) ****** NOT
  2141. IMPLEMENTED YET ******
  2142.     - On the Watcom platform, CPU_TYPE >= 486 didn't automatically set
  2143. FPU_TYPE to 387.  (wccommon.mak)
  2144.  
  2145. Interpreter
  2146. -----------
  2147.  
  2148. Fixes bugs:
  2149.     - Caching the current device in userdict could create dangling
  2150. references.  (gs_init.ps, gs_pdfwr.ps, zdevice.c)
  2151.     - If an error occurred in a BuildChar or BuildGlyph procedure, the
  2152. graphics state stack wasn't restored.  (ichar.h, zchar.c, zchar2.c)
  2153.     - There was an obsolete check for a structure when cleaning up after
  2154. a show operator.  (zchar.c)
  2155.     - Attempting to show a character with no associated glyph in a Type
  2156. 3 font with a BuildGlyph procedure caused an error.  (zchar.c)
  2157.     - noaccess on a read-only dictionary didn't give an error.
  2158. (ztype.c)
  2159.     - The dictionary passed to a Pattern's PaintProc was the original
  2160. template, not the copy made by makepattern.  (gs_lev2.ps)
  2161.     - Invalid font parameters could result in partially constructed
  2162. fonts, which caused problems for restore.  (zfont0.c, zfont2.c)
  2163.     - Files run under job control caused an error when terminating.
  2164. (gs_init.ps)
  2165.     - setpagedevice didn't protect itself against malfunctioning
  2166. BeginPage or EndPage procedures.  (The protection is still not perfect.)
  2167. (gs_setpd.ps)
  2168.     - .type42execchar called font_param redundantly.  (zchar42.c)
  2169.     - The font operators didn't protect themselves well enough against
  2170. bogus font dictionaries.  (zfont.c, zfont0.c)
  2171.     - If an error occurred within a stringwidth, the graphics state
  2172. stack wasn't restored properly.  (zchar.c)
  2173.     - If an error occurred within the PaintProc of a form, the graphics
  2174. state stack was left with an extra entry.  (gs_lev2.ps)
  2175.     - Registering a font under a second name could corrupt data
  2176. structures.  (zfont2.c)
  2177.     - Different scalings of the same font should have "equal" fontIDs,
  2178. to match the Adobe implementations.  (iutil.c)
  2179.     - Errors detected by PostScript code during initialization either
  2180. allowed execution to continue or produced a hex stack dump, instead of just
  2181. producing a message and exiting.  (interp.c)
  2182.     - The memory validator didn't validate chunks at previous save
  2183. levels.  (ilocate.c)
  2184.     - The Level 1 size of systemdict was too small.  (iinit.c)
  2185.     - Attempting to define a Category resource in local VM gave a
  2186. typecheck error rather than an invalidaccess.  (gs_res.ps)
  2187.     - Building Level 1 systems was no longer possible.  (zusparam.c)
  2188.  
  2189. Rearranges the interpreter code slightly so that all operator invocations go
  2190. through a single procedure when debugging.  (interp.c)
  2191.  
  2192. Adds a -K<numK> switch to limit the total amount of memory that Ghostscript
  2193. can acquire.  (imainarg.c)
  2194.  
  2195. Makes the memory validator check packed refs more carefully.  (ilocate.c)
  2196.  
  2197. Makes the memory validator check explicitly for pointers to freed objects.
  2198. (igc.c, ilocate.c)
  2199.  
  2200. Makes the memory validator check dictionaries more carefully.  (ilocate.c)
  2201.  
  2202. Makes the memory validator check refs embedded in structures.  (ilocate.c)
  2203.  
  2204. Adds a debugging option that bypasses the garbage collector entirely.
  2205. (igc.c)
  2206.  
  2207. Adds debugging options to validate memory before/after save/restore.
  2208. (zvmem.c)
  2209.  
  2210. Removes the patch for the uniprint driver, since it is no longer needed.
  2211. (gs_init.ps)
  2212.  
  2213. Implements real-number operands in CFF fonts.  (gs_cff.ps)
  2214.  
  2215. Implements non-default charsets in CFF fonts.  (gs_cff.ps)
  2216.  
  2217. Interpreter (PDF)
  2218. -----------------
  2219.  
  2220. Fixes bugs:
  2221.     - The PDF 1.2 "marked content" operators weren't defined.
  2222. (pdf_main.ps)
  2223.     - Streams with binary data whose first character was an EOL (\n)
  2224. didn't parse properly.  Unfortunately, the way we fixed this may break some
  2225. other files.  (pdf_base.ps)
  2226.     - PDF 1.2 #nn escape syntax in names wasn't recognized.  ****** This
  2227. is implemented with an inefficient hack that should be moved down into C.
  2228. However, I don't want to risk introducing new bugs during the beta test
  2229. period. ****** (pdf_base.ps)
  2230.     - The interpreter had a limit of 64K objects.  Removing this limit
  2231. required changing a basic data structure -- admittedly a risky thing to do
  2232. during beta test.  (pdf_base.ps, pdf_main.ps)
  2233.     - TJ didn't multiply the offsets by the font size, causing incorrect
  2234. character positioning.  (gs_pdf.ps)
  2235.  
  2236. Streams
  2237. -------
  2238.  
  2239. Fixes bugs:
  2240.     - The ASCIIHexDecode filter read an extra character in case of
  2241. error.  (sstring.c)
  2242.  
  2243. Adds more tracing output to the CCITTFaxDecode stream.  (scfd.c)
  2244.  
  2245. Library
  2246. -------
  2247.  
  2248. Fixes bugs:
  2249.     - The allocator client name for rendering bitmap patterns was
  2250. incorrect.  (Only affects tracing output.)  (gspcolor.c)
  2251.     - The check for exceeding the overall allocation limit was
  2252. incorrect, because of unsigned arithmetic.  (Only affects limitation of
  2253. total allocation, which is only used for debugging and benchmarking.)
  2254. (gsmemory.c)
  2255.     - The 0'th component of colored screens wasn't passed through the
  2256. band list, possibly causing access errors when rasterizing.  (gxclimag.c,
  2257. gxclread.c)
  2258.     - setbbox could get an overflow without detecting it.  (gsdps1.c)
  2259.     - Images with only one component but MultipleDataSources = true
  2260. could cause a memory access error.  (gximage.c)
  2261.     - The buffer for unpacking 12-bit-per-sample image data was too
  2262. small, causing memory corruption.  (gximage.c)
  2263.     - 12-bit-per-sample images with multiple data sources sometimes
  2264. didn't pass correct pointers to image_data.  (gsimage.c)
  2265.     - If an image data stream reached EOF before supplying enough data
  2266. for the entire image, memory corruption could occur.  (zpaint.c)
  2267.     - When a device halftone was freed, some pointers in the halftone
  2268. cache weren't cleared, leading to possible dangling references.  (gsstate.c)
  2269.     - Invalid font parameters could result in partially constructed
  2270. fonts, which caused problems for restore.  (gxfont0.h, gsfont.c)
  2271.     - If an error occurred within a stringwidth, the graphics state
  2272. stack wasn't restored properly.  (gschar.c)
  2273.     - The (static) limit on the size of a command line argument was too
  2274. small.  (gsargs.h)
  2275.     - Building Level 1 systems was no longer possible.  (gxdht.h,
  2276. gsht.c, gsht1.c)
  2277.     - Truncation instead of rounding caused colors on gray-scale devices
  2278. to come out very slightly too dark.  (gxcmap.c)
  2279.     - The Decode mapping table constructed for images was slightly
  2280. inaccurate for ranges other than [0 1] or [1 0].  (gximage.c)
  2281.  
  2282. Version 4.71(limited) (3/31/97)
  2283. =====================
  2284.  
  2285. This is a bug fix release during the beta test period.
  2286.  
  2287. Documentation
  2288. -------------
  2289.  
  2290. Fixes bugs:
  2291.     - A larger value of -Olimit is now needed to optimize gxclread.c.
  2292. (make.txt)
  2293.     - Some comments were incorrect.  (gdevbbox.h, sfilter1.c)
  2294.  
  2295. Updates the GPL with a newer version from FSF.  (COPYLEFT)
  2296.  
  2297. Notes that the gcc 2.7.x code generation bug is fixed in 2.7.2.1.
  2298. (make.txt)
  2299.  
  2300. Procedures
  2301. ----------
  2302.  
  2303. Fixes bugs:
  2304.     - Some streams required by high-level drivers were incorrectly
  2305. grouped with the interpreter rather than the library.  (int.mak, lib.mak)
  2306.     - The choice of implementation for file streams was buried in an
  2307. obscure place, rather than being included in the configuration definitions
  2308. at the head of each makefile.  (We believe there are no more such buried
  2309. parameters.)  This involved a NON-BACKWARD-COMPATIBLE change in the way this
  2310. choice was specified.  (lib.mak, *.mak)
  2311.     - Some dependencies were missing.  (lib.mak)
  2312.  
  2313. Drivers
  2314. -------
  2315.  
  2316. Fixes bugs:
  2317.     - A variable was used before being initialized, causing get_bits
  2318. (and raster ops) to fail when using alternate X devices.  (bug introduced in
  2319. 4.70.)  (gdevxalt.c)
  2320.     - Some 'private' declarations were omitted.  (It is infuriating that
  2321. gcc doesn't check for this!)  (gdevps.c, gdevpx.c)
  2322.     - A few character strings were used as byte arrays without a cast.
  2323. (gdevpx.c)
  2324.     - The EPS writer didn't write a correct bounding box, and didn't
  2325. write it at the beginning of the file.  (gdevvec.h, gsstruct.h, gdevps.c,
  2326. gdevvec.c)
  2327.     - x_copy_color specified an incorrect (too large) image width.
  2328. Apparently this only mattered because it could cause invalid memory
  2329. accesses.  (gdevx.c)
  2330.     - x_copy_mono also specified too large an image width.  It's not
  2331. clear this made any difference.  (gdevx.c)
  2332.     - The default implementation of strip_copy_rop didn't clamp Y values
  2333. to legal values for get_bits.  (gdevmrop.c)
  2334.  
  2335. Interpreter
  2336. -----------
  2337.  
  2338. Fixes bugs:
  2339.     - Some initialization files prematurely switched the interpreter
  2340. into Level 2 mode, causing some Level 2 operators not to be defined.  (bug
  2341. introduced in 4.60 or later.)  (gs_cff.ps, gs_cidfn.ps, gs_cmap.ps,
  2342. gs_init.ps, gs_res.ps)
  2343.  
  2344. Streams
  2345. -------
  2346.  
  2347. Fixes bugs:
  2348.     - The choice of procedure names for the file-descriptor-based
  2349. implementation of file streams was buried in a .c file, rather than being
  2350. chosen in the makefile.  (sfile.c[deleted], sfileno.c[deleted], sfxstdio.c,
  2351. sfxfd.c, sfxboth.c)
  2352.  
  2353. Library
  2354. -------
  2355.  
  2356. Fixes bugs:
  2357.     - rcurveto was broken -- it drew curves to random points.  (bug
  2358. introduced in 4.61.)  (gspath.c)
  2359.     - A trailing comma in an enum definition upset some compilers.  (bug
  2360. introduced in 4.70.)  (gstype1.h)
  2361.     - Type 1 fonts with hint replacement could produce anomalous or
  2362. clipped output, or even missing lines.  (Also cleans up some out-of-date
  2363. formatting.)  (gxtype1.h, gstype1.c, gxhint2.c)
  2364.     - Removes some conditionals for choosing between old and new
  2365. algorithms.  (gxhint3.c)
  2366.     - makebitmappattern required that the bitmap consist of only a
  2367. single tile repetition.  (gspcolor.c)
  2368.     - Some computations on RasterOps didn't take transparency into
  2369. account properly.  (gdevmrop.c)
  2370.     - The structure definition for imager and graphics states had an
  2371. incorrect offset for line_params, causing the garbage collector not to mark
  2372. or relocate dash patterns, possibly causing memory faults, FPEs, or invalid
  2373. output.  (bug introduced since 4.03.)  (gsstate.c)
  2374.     - 'show' operators gave a limitcheck for unreasonable coordinates,
  2375. even if limit clamping was enabled.  (gschar.c)
  2376.  
  2377. Implements banded filling and stroking with colored halftones, in addition
  2378. to pure colors and binary halftones.  Since we are in a beta test period,
  2379. actual use of this feature (but *not* all the code implementing it) is
  2380. disabled under an #ifdef FUTURE.  (gsdcolor.h, gxcldev.h, gxclpath.h,
  2381. gxdht.h, gxhttype.h, gsht.c, gxclimag.c, gxclpath.c, gxclread.c)
  2382.  
  2383. Version 4.70(limited) (3/26/97)
  2384. =====================
  2385.  
  2386. This fileset fixes the one outstanding compilation problem on PC platforms
  2387. and the old problem of limitchecks for out-of-bounds coordinates, and adds a
  2388. variety of new features, including the ability to save away the band lists
  2389. for pages and rasterize them later and/or elsewhere in any order and
  2390. combination.  This is the first "serious beta" candidate for the next
  2391. general release.
  2392.  
  2393. Fileset numbers 4.62 through 4.69 were skipped deliberately.
  2394.  
  2395. Documentation
  2396. -------------
  2397.  
  2398. Fixes bugs:
  2399.     - The list of special -d and -s switches was out of date.  (use.txt)
  2400.     - The name of the zlibDecode filter was incorrectly written
  2401. zlibEncode.  (language.txt)
  2402.  
  2403. Documents where to find out how to install gcc 2.7.x on SGI IRIX 6.x.
  2404. (make.txt)
  2405.  
  2406. Documents a makefile patch required on NeXTStep.  (make.txt)
  2407.  
  2408. Documents how to patch gcc to fix the AXP code generation bug.  (make.txt)
  2409.  
  2410. Adds documentation for the new unified printer driver.  (devices.txt)
  2411.  
  2412. Procedures
  2413. ----------
  2414.  
  2415. Fixes bugs:
  2416.     - 'make distclean' didn't remove a couple of files.  (gs.mak)
  2417.     - A library module didn't include a necessary dependency.  (lib.mak)
  2418.     - A new .ps file wasn't installed properly.  (unix-end.mak)
  2419.     - File write dates weren't updated properly on PC platforms, causing
  2420. unnecessary rebuilding.  (cp.bat, gs.mak, msc.mak, msvcwint.mak, os2.mak,
  2421. tccommon.mak, wccommon.mak, zlib.mak)
  2422.     - An unnecessary explicit compilation line for gdevcdj.c caused
  2423. problems in the Mac environment.  (devs.mak)
  2424.     - The VMS scripts were out of sync again.  (vms.mak)
  2425.     - The VMS build scripts didn't include the new JPEG driver.
  2426. (vms-*.mak)
  2427.     - A number of makefile macros were referenced before being defined.
  2428. (devs.mak, lib.mak, int.mak, *.mak)
  2429.     - libpng.mak didn't work with PVERSION=90.  (libpng.mak, zlib.mak)
  2430.  
  2431. Separates install-scripts from install-exec and install-data.
  2432. (unix-end.mak)
  2433.  
  2434. Moves the definition of SEARCH_HERE_FIRST from iminst.h to the makefiles.
  2435. (*.mak, iminst.h, iconf.c, imain.c)
  2436.  
  2437. Adds a -dBATCH switch that causes Ghostscript to exit after processing the
  2438. files named on the command line.  (gs_init.ps)
  2439.  
  2440. Adds the PostScript, EPS, and PCL XL writers, and the color and gray-scale
  2441. JPEG drivers, to all Unix configurations.  (ansihead.mak, cc-head.mak,
  2442. gcc-head.mak)
  2443.  
  2444. Drivers
  2445. -------
  2446.  
  2447. NOTE: because of a change in an internal interface (clist_output_page), the
  2448. cp50 driver no longer works.  This is a user-contributed driver for which we
  2449. take no responsibility.
  2450.  
  2451. Fixes bugs:
  2452.     - gdevcdj.c wasn't compatible with ansi2knr.  (gdevcdj.c)
  2453.     - 'private' was omitted from some declarations.  (gdevjpeg.c)
  2454.     - The PostScript writer didn't keep track of the current color
  2455. properly.  (gdevps.c)
  2456.     - RESOLUTION was misspelled in a header.  (gdevbjc.h)
  2457.     - Some compilers objected to the use of a floating point initial
  2458. resolution value.  (gdevbjc.h)
  2459.     - Some compilers didn't allow static initialization of a union.
  2460. (gsdcolor.h)
  2461.     - If a TIFF driver got an error when initializing the CCITTFax
  2462. encoder, it returned a bogus error code.  (gdevtfax.c)
  2463.     - The PDF writer produced incorrect output for Indexed color space
  2464. images.  (gdevpdfi.c)
  2465.     - For many fatal error conditions, the X driver called exit()
  2466. instead of returning an error.  (gdevx*.c)
  2467.  
  2468. Adds new drivers:
  2469.     - epswrite, an EPS-writing driver (instead of making EPS output a
  2470. parametric option of the PostScript-writing device).  (devs.mak, gdevps.c)
  2471.     - pcxcmyk, a 4-bit CMYK PCX driver.  This is probably only useful
  2472. for debugging CMYK color rendering.  (gdevpcx.c)
  2473.     - jpeggray, a JPEG driver that produces gray-scale rather than color
  2474. output.  Thanks to Tom Lane for contributing this.  (gdevjpeg.c)
  2475.     - uniprint, a unified printer driver for a wide variety of inkjet
  2476. printers.  Thanks to Gunther Hess for contributing this.  (gdevupd.c)
  2477.  
  2478. Adds the resolution (pHYs) to the output of the PNG drivers.  (gdevpng.c)
  2479.  
  2480. Adds recognition of the ASCII85EncodePages parameter to the PostScript and
  2481. EPS writers.  (gdevps.c)
  2482.  
  2483. Makes the new JPEG driver write a JFIF header, which contains the image
  2484. resolution.  (gdevjpeg.c)
  2485.  
  2486. Changes the "vector" device support interface so relative movement can be
  2487. detected easily.  THIS IS STILL SUBJECT TO CHANGE WITHOUT NOTICE.
  2488. (gdevvec.h, gdevpsdf.c, gdevps.c, gdevpx.c, gdevvec.c)
  2489.  
  2490. Changes the PostScript, EPS, and PDF writers to recognize curves and lines
  2491. that can be represented more efficiently.  (gdevpsdf.h, gdevpsdf.c,
  2492. gdevps.c)
  2493.  
  2494. Adds a new parameter to the PDF writer, FirstObjectNumber.  This defines the
  2495. first object number that will be used in the output.  The default, and
  2496. minimum, value is 1; the maximum value is approximately 2^31.  This is for
  2497. the benefit of dvipdf; we don't expect it to be used otherwise.  In fact,
  2498. using it appears to produce files that Adobe Acrobat Reader won't accept,
  2499. even though the files are perfectly compliant with the published PDF
  2500. specification.  (gdevpdfx.h, gdevpdf.c, gdevpdfp.c)
  2501.  
  2502. Platforms
  2503. ---------
  2504.  
  2505. Removes the makefile for the 16-bit Borland C++ platform.  This was the last
  2506. supported 16-bit platform; we expect to gradually drop all 16-bit
  2507. concessions from the code itself.  (bcwin.mak)
  2508.  
  2509. Interpreter
  2510. -----------
  2511.  
  2512. Fixes bugs:
  2513.     - The initial size of systemdict was too small, causing the
  2514. interpreter to slow down substantially.  (iinit.c)
  2515.     - A library module depended on an interpreter module.  (zcsindex.c)
  2516.     - A logically necessary (but accidentally always available) #include
  2517. was missing.  (ifont.h)
  2518.  
  2519. Moves set/currentoverprint to a more appropriate module.  (zcolor2.c,
  2520. zcssepr.c)
  2521.  
  2522. Changes the default transfer functions so that they do something reasonable
  2523. when given operands outside the legal [0..1] range.  We only do this to work
  2524. around a bug in FrameMaker output, which uses the transfer function as the
  2525. screen function (!).  (gs_init.ps)
  2526.  
  2527. Changes the CMap construction algorithm to use the new, more compact
  2528. representation.  (zfcmap.c)
  2529.  
  2530. Adds support for Adobe's Compact Font Format.  Many individual features are
  2531. not implemented yet: see the comment in the source code for details.
  2532. (gs_cff.ps)
  2533.  
  2534. Adds support for Type 2 charstrings in Type 1 fonts.  (ifont.h, zfont1.c)
  2535.  
  2536. Changes the Type 1 character rendering operator for the library change in
  2537. Type 1 fonts.  (zchar1.c, zfont1.c)
  2538.  
  2539. Initializes the graphics state limit clamp flag to true.  (zgstate.c)
  2540.  
  2541. Temporarily adds a configuration file for the new unified printer driver,
  2542. and arranges for it to be read at startup.  This arrangement will be
  2543. replaced very soon by a different one based on command line parameters.
  2544. (gs_init.ps, uniprint.ps)
  2545.  
  2546. Interpreter (PDF)
  2547. -----------------
  2548.  
  2549. Adds support for Compact Font Format fonts.  (pdf_font.ps)
  2550.  
  2551. Streams
  2552. -------
  2553.  
  2554. Adds a glue procedure needed for the new jpeggray driver.  (sjpeg.h,
  2555. sjpege.c)
  2556.  
  2557. Removes the width limit of 32K in the CCITTFaxEncode filter.  The new limit
  2558. is absurdly large (about 50M).  (scf.h, scfx.h, scfe.c)
  2559.  
  2560. Library
  2561. -------
  2562.  
  2563. Fixes bugs:
  2564.     - A library module depended on an interpreter module.  (gxcolor2.h,
  2565. gscolor2.c)
  2566.     - When rendering a band, clipping was sometimes used when it wasn't
  2567. necessary.  (Performance only.)  (gxclread.c)
  2568.     - Stroking didn't check the path against the device clipping box in
  2569. the absence of an explicit (non-default) clipping path.  (Performance only.)
  2570. (gxstroke.c)
  2571.     - A reference to an opaque type upset a couple of compilers.
  2572. (gxclread.c)
  2573.     - Negative 32-bit numbers in Type 1 fonts didn't work properly on
  2574. 64-bit systems.  (gstype1.c)
  2575.     - A logically necessary (but accidentally always available) #include
  2576. was missing.  (gxbitmap.h)
  2577.     - A header wasn't protected against double inclusion.  (gxclist.h)
  2578.     - Clipping devices didn't store their actual width and height.
  2579. (gxcpath.c)
  2580.     - The slow-case check for thin lines was incorrect.  (gxstroke.c)
  2581.     - Images didn't compute their clipping boxes correctly if there
  2582. wasn't an explicit clipping path.  (This must be a very recent bug, since it
  2583. creates an overflow condition that prevents monochrome images from being
  2584. rendered at all.)  (gximage.c)
  2585.  
  2586. Moves set/currentoverprint to a more appropriate module.  For clients of
  2587. gs_set/currentoverprint, this is a NON-BACKWARD-COMPATIBLE CHANGE, since the
  2588. header file is now separate.  (gscolor2.h, gscsepr.h, gscolor2.c, gscsepr.c)
  2589.  
  2590. Replace the MetroWerks work-around with a different, more general one.
  2591. (gdevmem.h, gdevmem.c, gxdevice.h)
  2592.  
  2593. Speeds up the Type 1 interpreter a little.  (gstype1.c, gxhint3.c)
  2594.  
  2595. Redesigns the internal representation of CMaps to be more space-efficient.
  2596. (gxfcmap.h, gschar0.c, gsfcmap.c)
  2597.  
  2598. Implements a facility for saving away pages and rendering them later.
  2599. Currently this requires the pages to be represented as band lists on files,
  2600. and only allows X translation when rendering.  This involves adding the
  2601. following new printer device parameters:
  2602.     BandHeight
  2603.     BandWidth
  2604.     BandBufferSpace
  2605. Also changes the names of the printer device parameter elements from
  2606. use_buffer_space to BufferSpace and from max_bitmap to MaxBitmap for
  2607. consistency.  (gdevprn.h, gxcldev.h, gxclio.h, gxclist.h, gxclmem.h,
  2608. gxclpage.h, gxdevmem.h, gdevmem.c, gdevp2up.c, gdevprn.c, gxclmem.c,
  2609. gxclpath.c, gxclread.c)
  2610.  
  2611. Changes the band list implementation API to allow closing a file without
  2612. deleting it, and to allow reopening an existing file.  This is a
  2613. NON-BACKWARD-COMPATIBLE change to a deep internal interface.  (gxclio.h,
  2614. gxclmem.h, gxclfile.c, gxclist.c, gxclmem.c)
  2615.  
  2616. Speeds up rendering of colored halftones, by recognizing cases where one or
  2617. more planes don't actually require screening, unrolling a loop, and doing
  2618. basic clipping before halftoning.  (gxcht.c)
  2619.  
  2620. Adds a graphics state parameter, gs_set/currentlimitclamp, that changes the
  2621. handling of out-of-range coordinates to clamp them in a way that produces
  2622. approximately the intended output most of the time, rather than causing a
  2623. limitcheck.  Currently this is only designed to work with the basic path
  2624. construction operations ([r]moveto, [r]lineto, [r]curveto, closepath); it
  2625. does not work with many other operations such as show, flattenpath or the
  2626. rectangle operations.  Note also that while currentpoint will return the
  2627. correct (unclamped) value, reading out the path with pathforall will return
  2628. clamped values.  This involves NON-BACKWARD-COMPATIBLE changes to the path
  2629. structure (but not to any public interfaces).  (gxpath.h, gxtype1.h,
  2630. gzpath.h, gzstate.h, gspath.c, gspath1.c, gsstate.c, gstype1.c, gxpaint.c,
  2631. gxpath.c, gxpath2.c, gxpcopy.c)
  2632.  
  2633. Adds support for Type 2 charstrings.  Some features are not implemented yet:
  2634. see gstype2.c for details.  (gscrypt1.h, gstype1.h, gxfont1.h, gxop1.h,
  2635. gxtype1.h, gstype1.c, gstype2.c, gxhint2.c, gxhint3.c, gxtype1.c)
  2636.  
  2637. Version 4.61(limited) (3/13/97)
  2638. =====================
  2639.  
  2640. This fileset cleans up many compiler warnings.  It adds support for
  2641. CMap-encoded fonts, and a driver that writes JPEG images.
  2642.  
  2643. Documentation
  2644. -------------
  2645.  
  2646. Corrects an error in the description of the internal CodeMap structure.
  2647. (gs_cmap.ps)
  2648.  
  2649. Documents the fact that the optimizer in gcc 2.7.2.1 is broken on AXP
  2650. machines.  (make.txt)
  2651.  
  2652. Corrects the name of the .setglobal/.currentglobal procedures.  (zvmem2.c)
  2653.  
  2654. Updates current.txt in preparation for the release.  (current.txt)
  2655.  
  2656. Procedures
  2657. ----------
  2658.  
  2659. Fixes bugs:
  2660.     - The VMS script was out of date again.  (vms.mak)
  2661.     - CIDFont support unnecessarily required composite font support.
  2662. (int.mak)
  2663.     - CMap and CIDFont support had improper dependencies on
  2664. initialization order.  (lib.mak, int.mak)
  2665.     - Some dependencies were missing in the JPEG library code.
  2666. (jpeg.mak)
  2667.  
  2668. Adds the new JPEG driver to all standard configurations.  (*.mak)
  2669.  
  2670. Drivers
  2671. -------
  2672.  
  2673. Fixes bugs:
  2674.     - A dependency was omitted from the makefile.  (devs.mak, gdevps.c)
  2675.  
  2676. Cleans up some warnings from picky compilers.  Some of these actually
  2677. indicated problems, such as unreachable code.  (gdevpdfx.h, gdevbj10.c,
  2678. gdevcdj.c, gdevpdfp.c, gdevstc.c)
  2679.  
  2680. Adds a JPEG-writing driver.  Currently this only produces RGB output and
  2681. only has a QFactor parameter, but eventually it could take all the other
  2682. parameters of the DCTEncode filter.  (devs.mak, int.mak, lib.mak,
  2683. gdevjpeg.c)
  2684.  
  2685. Refactors the PDF and PostScript output drivers so that both of them
  2686. understand all the relevant documented PDF distiller parameters.  (The
  2687. PostScript driver currently disregards nearly all of them.)  (gdevpdfx.h,
  2688. gdevpsdf.h, gdevvec.h, gdevpdf*.c, gdevps.c, gdevpsdf.c, gdevpx.c)
  2689.  
  2690. Platforms
  2691. ---------
  2692.  
  2693. Fixes bugs:
  2694.     - The MetroWerks C compiler gave an inexplicable error on a
  2695. particular initialization.  (gdevmem.h, gdevmem.c)
  2696.  
  2697. Interpreter
  2698. -----------
  2699.  
  2700. Fixes bugs:
  2701.     - The insideness testing operators sometimes reported hits
  2702. incorrectly.  (zupath.c)
  2703.     - Mixed-type arithmetic used floats rather than doubles when
  2704. converting integers, possibly leading to loss of precision.  (zarith.c,
  2705. zrelbit.c)
  2706.     - composefont was defined in a private dictionary, not in
  2707. systemdict.  (gs_cmap.ps)
  2708.     - composefont didn't work, for several different reasons.
  2709. (gs_cmap.ps)
  2710.     - After a Type 1 font called an OtherSubr, an invalid memory access
  2711. usually occurred, because of an incorrect attempt to free a data structure.
  2712. (zchar1.c)
  2713.     - 2 .setlanguagelevel gave an error if globaldict hadn't been
  2714. defined yet.  (zmisc2.c)
  2715.  
  2716. Cleans up some warnings from picky compilers.  Some of these actually
  2717. indicated problems, such as unreachable code, or failure to check for
  2718. (implausible) out-of-range data.  (idict.c, idparam.c, igc.c, iinit.c,
  2719. imain.c, iscan.c, zbseq.c, zchar1.c, zdps1.c)
  2720.  
  2721. Adjusts clients for a change in the internal character cache structure and
  2722. the introduction of the font next-glyph procedure.  (zfont.c, zfont0.c)
  2723.  
  2724. Refactors the Level 1 / Level 2 interpreter split slightly so that composite
  2725. fonts don't require all of Level 2.  (int.mak, gs_dps1.ps, gs_dps2.ps)
  2726.  
  2727. Adds FMapType 9 (CMap-encoded) composite font support.  (int.mak,
  2728. gs_cmap.ps, ifont.h, zfcmap.c, zfont.c, zfont0.c)
  2729.  
  2730. Interpreter (PDF)
  2731. -----------------
  2732.  
  2733. Adds recognition of /Identity values for BG, UCR, and TR functions in
  2734. ExtGState resources.  (General function values still aren't recognized.)
  2735. (pdf_draw.ps)
  2736.  
  2737. Centralizes the handling of inherited attributes.  (pdf_draw.ps,
  2738. pdf_main.ps)
  2739.  
  2740. Starts to add support for Type 0 fonts.  (pdf_font.ps, pdf_main.ps)
  2741.  
  2742. Streams
  2743. -------
  2744.  
  2745. Cleans up some warnings from picky compilers.  Some of these actually
  2746. indicated problems, such as unreachable code.  (shc.h, scfd.c, sfilter2.c,
  2747. siscale.c, stream.c)
  2748.  
  2749. Library
  2750. -------
  2751.  
  2752. Fixes bugs:
  2753.     - Some picky compilers disliked certain conditional expressions.
  2754. (gxclread.c)
  2755.     - Some picky compilers couldn't handle an extraneous semicolon.
  2756. (gdevvec.h)
  2757.     - A cast from byte ** to const byte ** was missing.  (gdevvec.c)
  2758.     - Resizing the levels array of a halftone order when banding could
  2759. cause invalid memory accesses.  (bug introduced in 4.60) (gxclread.c)
  2760.     - One picky compiler didn't allow taking the address of an extern
  2761. undefined structure.  (lib.mak, gxclread.c)
  2762.     - When rendering Type 1 fonts, character overshoot was usually
  2763. suppressed when it shouldn't have been, often producing "squashed"
  2764. characters.  (gxhint1.c)
  2765.     - On systems where sizeof(long) > sizeof(int), coordinate values of
  2766. more than 22 bits were passed through the band list incorrectly, producing
  2767. incorrect output.  (gxclread.c)
  2768.  
  2769. Cleans up some warnings from picky compilers.  Some of these actually
  2770. indicated problems, such as unreachable code or (hypothetical) loss of
  2771. precision.  (gsdevice.c, gshsb.c, gsht.c, gsstate.c, gstype1.c, gxclimag.c,
  2772. gxclpath.c, gxclread.c, gxpdash.c)
  2773.  
  2774. Makes using font hints conditional, for debugging.  (gxhint1.c)
  2775.  
  2776. Adds library-level support for FMapType 9 (CMap-encoded) composite fonts.
  2777. There is still no support for rearranged fonts.  (gsccode.h, gsfcmap.h,
  2778. gsstruct.h, gxfcache.h, gxfcmap.h, gxfont.h, gxfont0.h, gschar.c, gschar0.c,
  2779. gsfcmap.c, gsfont.c, gsfont0.c)
  2780.  
  2781. Splits band list control and utilities from rectangle-oriented commands,
  2782. because a file was getting too big.  (gxclist.c, gxclrect.c)
  2783.  
  2784. Moves the temporary file names for command lists from the printer device
  2785. structure to the command list structure; moves opening and closing the
  2786. temporary files from gdev_prn_alloc/free to clist_open/close.  (gdevprn.h,
  2787. gxclist.h, gdevprn.c, gxclist.c, gxclread.c)
  2788.  
  2789. Changes the command list storage implementation interface to pass the file
  2790. name to the clist_rewind and clist_fseek functions, for the benefit of OSs
  2791. that require closing and reopening a file to switch between reading and
  2792. writing.  This is a NON-BACKWARD-COMPATIBLE change in a non-public
  2793. interface.  (gxclio.h, gxclmem.h, gxclfile.c, gxclist.c, gxclmem.c)
  2794.  
  2795. Changes the get_outline procedure in Type 42 fonts to return the length of
  2796. the outline data as well as the pointer.  This is a NON-BACKWARD-COMPATIBLE
  2797. change in a semi-public interface.  (gxfont42.h, gstype42.c)
  2798.  
  2799. Version 4.60(limited) (3/2/97)
  2800. =====================
  2801.  
  2802. This fileset moves color rendering up from the graphics state to the imager
  2803. state so that color rendering can happen after banding.  It also shifts
  2804. image rendering to the rendering pass of banding for many common cases
  2805. (often referred to inaccurately as "high-level image" capability).  The
  2806. changes involved are substantial and in some respects subtle, so
  2807. unfortunately it is quite possible that some new bugs have been introduced.
  2808.  
  2809. This fileset also includes improvements to the new PCL XL driver
  2810. (pxlmono/color), and introduces an experimental PostScript driver (pswrite).
  2811.  
  2812. Documentation
  2813. -------------
  2814.  
  2815. Fixes bugs:
  2816.     - The argument list of colorimage was incorrect.  (zcolor1.c)
  2817.     - false .charboxpath incorrectly claimed to create the correct path
  2818. even when the CTM was not well-behaved.  (language.txt)
  2819.     - The discussion of the "main program" files was out of date.
  2820. (make.txt)
  2821.  
  2822. Updates the OS/2 EMX documentation.  (make.txt)
  2823.  
  2824. Modifies the Aladdin Ghostscript Free Public License slightly so it may be
  2825. applied to other software packages.  (PUBLIC)
  2826.  
  2827. Updates inaccurate build documentation for several Unix platforms.
  2828. (make.txt, ansihead.mak, cc-head.mak, gcc-head.mak, libpng.mak)
  2829.  
  2830. Notes a problem with the MIPSpro 7.1 compiler.  (make.txt)
  2831.  
  2832. Procedures
  2833. ----------
  2834.  
  2835. Fixes bugs:
  2836.     - Most makefiles didn't include version.mak.  (msc.mak,
  2837. msvcwint.mak, os2.mak, tctail.mak, wctail.mak)
  2838.     - There was an incorrect dependency for the Windows printer device.
  2839. (devs.mak)
  2840.  
  2841. Moves the PDF writer to devs.mak.  (devs.mak, int.mak)
  2842.  
  2843. Updates the main VMS script to be structured like version.mak.  (vms.mak)
  2844.  
  2845. Drivers
  2846. -------
  2847.  
  2848. Factors out the stream-writing procedures from the PDF writer, so they can
  2849. be shared with the new PostScript writer.  (gdevpdfs.h => gdevpstr.h,
  2850. gdevpdfx.h, gdevpsdf.h, gdevpdf.c, gdevpdfi.c, gdevpdfs.c => gdevpstr.c,
  2851. gdevpdft.c, gdevpsdf.c)
  2852.  
  2853. Adds a PostScript writer (pswrite), similar to the PDF and PCL XL drivers.
  2854. Currently this handles fill/stroke graphics and Level 1 images; everything
  2855. else (including text) is turned into bitmaps.  (devs.mak, gdevps.c)
  2856.  
  2857. Changes the names of the PCL XL drivers from hpxmono/color to pxlmono/color.
  2858. (devs.mak, gdevpx.c)
  2859.  
  2860. Updates the "vector" device support interface.  THIS IS STILL SUBJECT TO
  2861. CHANGE WITHOUT NOTICE.  (gdevvec.h, gdevpx.c, gdevvec.c)
  2862.  
  2863. Makes the vgalib driver a page device.  This seems bizarre, but it's
  2864. necessary for setpagedevice to work with it.  (gdevvglb.c)
  2865.  
  2866. Updates some drivers for the new color mapping interfaces.  (gdevpx.c)
  2867.  
  2868. Updates the user-contributed Canon LBP-8II and LIPS III driver.
  2869. (gdevlbp8.c)
  2870.  
  2871. Platforms
  2872. ---------
  2873.  
  2874. Fixes bugs:
  2875.     - The workaround for Ultrix's incorrect implementation of sh -e
  2876. still didn't work.  (unixtail.mak)
  2877.     - The definition of offset_of didn't work on the Mac.  (stdpre.h)
  2878.  
  2879. Updates the OS/2 EMX linker command per input from a user.  (os2.mak)
  2880.  
  2881. Fonts
  2882. -----
  2883.  
  2884. Adds .pss (apparently used by Adobe for Multiple Master font instances) to
  2885. the list of extensions skipped by the GS_FONTPATH directory scanner.
  2886. (gs_fonts.ps)
  2887.  
  2888. Interpreter
  2889. -----------
  2890.  
  2891. Fixes bugs:
  2892.     - Programs that rebind null, true, and/or false could cause all
  2893. kinds of problems.  We've only fixed a couple of the places that might be
  2894. affected (findfont, quit), by wrapping an explicit "systemdict begin/end"
  2895. around the code; fixing this completely would probably require wrapping this
  2896. implicitly around almost every pseudo-operator, which would be too
  2897. expensive.  (gs_fonts.ps, gs_lev2.ps)
  2898.     - In a Level 2 system, grestoreall stopped one level too early.
  2899. (zdevice2.c)
  2900.     - setpagedevice didn't restore the stack properly if it got an
  2901. error.  (gs_setpd.ps)
  2902.  
  2903. Changes the GC pointer enumeration interface to reduce the number of
  2904. 'discarding const' warnings.  See under Library below.  (igc.c)
  2905.  
  2906. Updates the interpreter for the change in the imager / graphics state split.
  2907. (zpcolor.c)
  2908.  
  2909. Makes the stack-restoring behavior of pseudo-operators non-optional.
  2910. (interp.c)
  2911.  
  2912. Interpreter (PDF)
  2913. -----------------
  2914.  
  2915. Fixes bugs:
  2916.     - PDFDocEncoding and WinAnsiEncoding incorrectly had `minus' at
  2917. position 45 rather than `hyphen'.  (gs_pdf_e.ps, gs_wan_e.ps)
  2918.  
  2919. Streams
  2920. -------
  2921.  
  2922. Fixes bugs:
  2923.     - A header file wasn't protected against double inclusion.
  2924. (stream.h)
  2925.     - any_abs was redefined.  (spngp.c)
  2926.     - The CCITTFaxDecode filter didn't fully initialize the "previous
  2927. line" for 2-D decoding, so if the very first line of data was 2-D, an
  2928. out-of-bounds memory access could occur.  (scfd.c)
  2929.  
  2930. Library
  2931. -------
  2932.  
  2933. Fixes bugs:
  2934.     - gs_image_next could read too much data, causing errors at the
  2935. interpreter level.  (gsimage.c)
  2936.     - The bitmaps stored in the Pattern cache were usually freed,
  2937. leaving dangling pointers.  (gsdcolor.h, gxpcache.h, gxpcolor.h, gsstate.c,
  2938. gxpcmap.c)
  2939.     - There was still one assignment to a const structure, and there
  2940. were some unnecessary const-discarding casts.  (gxclread.c)
  2941.     - If a character in a Type 3 font was defined by executing 'show'
  2942. type commands, charpath did the wrong thing (didn't pick up the paths
  2943. created by the inner show).  Similarly, if it uses 'stroke', true charpath
  2944. did the wrong thing (appended the path rather than the strokepath path).
  2945. (gxchar.h, gschar.c, gspaint.c)
  2946.     - A header file wasn't protected against double inclusion.
  2947. (gserror.h)
  2948.     - The new fast implementation of rectfill didn't handle rectangles
  2949. with negative width/height.  (bug introduced in 4.32) (gsdps1.c)
  2950.     - Reading banded high-level images calculated the image height
  2951. incorrectly, (usually) causing a rangecheck.  (gxclread.c)
  2952.     - When reading band data, a memory fault could occur if the halftone
  2953. cache hadn't been allocated yet.  (gxht.c)
  2954.     - The imager state data for high-level images wasn't written soon
  2955. enough.  (gxclimag.c)
  2956.     - High-level images computed bounding boxes incorrectly, so they
  2957. could write some garbage data in the band list, and could also fail to write
  2958. some information.  (gsmatrix.h, gxmatrix.h, gxclimag.c)
  2959.     - High-level images wrote the raster value incorrectly in the band
  2960. list.  (gxclimag.c)
  2961.     - Images with non-zero initial source X and non-portrait orientation
  2962. were displaced on the page.  (In practice, this only applied to some banded
  2963. high-level images.)  (gximage.c)
  2964.     - The bounding box device didn't forward output_page calls, causing
  2965. pages to be dropped or overprinted.  (gdevbbox.c)
  2966.     - The band renderer considered all non-zero return codes as errors,
  2967. rather than only negative codes.  (gxclread.c)
  2968.     - An unnecessary extern hadn't been removed.  (gxclimag.c)
  2969.     - Some macros didn't parenthesize uses of their arguments, causing
  2970. syntax errors.  (gsrefct.h)
  2971.     - The screen phase and color_info weren't set correctly when
  2972. rendering bands.  (gsstate.h, gsht.c, gxclread.c)
  2973.     - A header file didn't declare all the opaque types it used.
  2974. (gsdevice.h)
  2975.     - Indexed color spaces didn't work with banded images.  (They still
  2976. don't -- the check for writing the color space, and the code for reading the
  2977. table or map, are incomplete.)  (gxclist.h, gxclpath.h, gxclimag.c,
  2978. gxclpath.c, gxclread.c)
  2979.  
  2980. In preparation for implementing post-banding halftoning:
  2981.  
  2982.     - Moves color rendering information, including alpha value, from
  2983. graphics state to imager state; also moves the allocator pointer.  This is
  2984. quite a subtle change, and may have a significant bug tail.  (gxdcolor.h,
  2985. gxht.h, gxistate.h, gzstate.h, gschar.c, gsdps1.c, gspaint.c, gsstate.c,
  2986. gxclread.c)
  2987.  
  2988.     - Changes all the relevant color space and color mapping procedures
  2989. so they take a const gs_imager_state * (and, in some cases, a [const]
  2990. gx_device *) instead of a const gs_state *.  This is a
  2991. non-backward-compatible change, but it only affects internal interfaces.
  2992. (gsdcolor.h, gxcmap.h, gxcspace.h, gxdcconv.h, gxdcolor.h, gxdither.h,
  2993. gxpcolor.h, gzht.h, gschar.c, gscie.c, gscolor.c, gscolor1.c, gscolor2.c,
  2994. gscsepr.c, gsdevice.c, gsimage.c, gspcolor.c, gxcht.c, gxcmap.c, gxdcconv.c,
  2995. gxdcolor.c, gxht.c, gximage.c, gximage[2345].c, gxpcmap.c)
  2996.  
  2997.     - Changes the color and color space reference count adjustment
  2998. procedures similarly, to take a gs_memory_t * instead of a gs_state_t *.
  2999. (gxcspace.h, gscie.c, gscolor.c, gscolor2.c, gscsepr.c, gspcolor.c)
  3000.  
  3001.     - Changes the gs_halftone in the graphics state from being part of
  3002. the gs_state_contents to being an independent reference-counted object.
  3003. This too may have a significant bug tail.  (gxht.h, gxistate.h, gsht.c,
  3004. gsstate.c)
  3005.  
  3006.     - Changes the image processing code so it no longer assumes that the
  3007. gs_imager_state is actually a gs_state.  (gximage.h, gximage.c, gximage2.c,
  3008. gximage3.c, gximage4.c, gximage5.c)
  3009.  
  3010.     - Adds a unique ID value to device halftones, so that it's possible
  3011. to detect (non-)changes quickly.  (gxdht.h, gsht.c)
  3012.  
  3013. Finishes the code for writing and reading color rendering information in the
  3014. band list.  This involves changes to several band list opcodes.  (gsht.h,
  3015. gsht1.h, gxcldev.h, gxclist.h, gxclpath.h, gxdht.h, gzht.h, gsht.c, gsht1.c,
  3016. gxclbits.c, gxclimag.c, gxclist.c, gxclread.c)
  3017.  
  3018. Changes the garbage collector pointer enumeration procedure interface
  3019. slightly to reduce the number of 'discarding const' warnings.  THIS IS A
  3020. NON-BACKWARD-COMPATIBLE CHANGE for anyone who didn't use the
  3021. ENUM_PTRS_BEGIN[_PROC] macro to start a pointer enumeration procedure (which
  3022. should be no one).  (gsstruct.h, gsmemory.c)
  3023.  
  3024. Corrects a few more needlessly const-discarding casts.  (gxfcache.h,
  3025. gxccache.c)
  3026.  
  3027. Checks for file reading errors when rasterizing bands.  (gxclread.c)
  3028.  
  3029. Version 4.51(limited) (2/9/97)
  3030. =====================
  3031.  
  3032. This version contains a more reasonable high-level PCL XL driver.  The VMS
  3033. build script is working again, we think.
  3034.  
  3035. Procedures
  3036. ----------
  3037.  
  3038. Fixes bugs:
  3039.     - The gsdll_h macro wasn't defined all the places it was needed.
  3040. (devs.mak, os2.mak)
  3041.  
  3042. Drivers
  3043. -------
  3044.  
  3045. Continues to develop the "vector" driver infrastructure and the PCL XL
  3046. driver.  EVERYTHING IN THESE FILES IS SUBJECT TO CHANGE WITHOUT NOTICE.
  3047. (gdevvec.h, gdevvec.c)
  3048.  
  3049. Brings the PCL XL driver up to usable quality for graphics.  Most
  3050. fill/stroke graphics, and portrait-orientation bitmap images up to 8 bits
  3051. per pixel, are converted directly to their PCL XL equivalents.  Text is
  3052. still treated as bitmaps.  Both gray-scale and color output are now
  3053. supported.  (devs.mak, gdevpx.c)
  3054.  
  3055. Platforms
  3056. ---------
  3057.  
  3058. Fixes bugs:
  3059.     - When using gsos2.exe with gsdll2.dll, reducing the size of the
  3060. page bitmap caused a limitcheck error with the message
  3061.     Failed to decommit memory in pm_alloc_bitmap, rc = 87  (gdevpm.c)
  3062.     - The scripts that construct gconfig_.h failed on Ultrix, because
  3063. Ultrix's implementation of sh -e is incorrect.  (unixtail.mak, ugcclib.mak)
  3064.     - Some systems that have sys/times.h don't define CLK_TCK, making a
  3065. compilation fail.  (time_.h)
  3066.  
  3067. Interpreter
  3068. -----------
  3069.  
  3070. Fixes bugs:
  3071.     - An omitted semicolon wasn't detected by gcc.  (idict.c)
  3072.  
  3073. Removes a source of unnecessary duplication by getting the revision number
  3074. and date from version.mak.  (gs.mak, int.mak, version.mak, gscdef.c)
  3075.  
  3076. Streams
  3077. -------
  3078.  
  3079. Fixes bugs:
  3080.     - The minimum buffer sizes for the RunLengthDecode filter hadn't
  3081. been changed to reflect the algorithm improvement made in release 4.38.
  3082. (srld.c)
  3083.  
  3084. Changes the RunLengthEncode filter so it can make progress with only a
  3085. 2-byte output buffer.  (srlx.h, srle.c)
  3086.  
  3087. Library
  3088. -------
  3089.  
  3090. Fixes bugs:
  3091.     - Because of a typo, the slow general algorithm was always used for
  3092. monochrome images.  (Performance bug only, but a serious one.)  (gximage2.c)
  3093.     - Dots (zero-length lines with round caps and zero dot length)
  3094. caused an infinite loop.  (bug introduced in 4.40)  (gxstroke.c)
  3095.     - Some image data unpacking procedures were always required, but
  3096. weren't always included.  (bug introduced in 4.50) (gximage.c, gximage0.c,
  3097. gximage3.c)
  3098.     - Images with 8 bits per pixel and non-identity Decode produced
  3099. garbage.  (bug introduced later than 4.03) (gximage0.c)
  3100.     - Some necessary casts and omitted punctuation weren't detected by
  3101. gcc.  (gxpath.h, gsargs.c, gsstate.c, gxclread.c, gxpdash.c)
  3102.     - The band list became confused if a band had no commands at all.
  3103. (gxclread.c)
  3104.     - If a path included a closepath followed by a moveto to the same
  3105. point, it could be written incorrectly in the band list.  (bug probably
  3106. introduced in 3.60) (gxclpath.c)
  3107.  
  3108. Changes some internal computations for arcs from float to double for greater
  3109. accuracy.  (gspath1.c)
  3110.  
  3111. Version 4.50(limited) (1/31/97)
  3112. =====================
  3113.  
  3114. This release contains an experimental high-level PCL XL driver, a little
  3115. more support for CID/CMap fonts, and the usual bug fixes.  NOTE: the VMS
  3116. build script is known to be out of sync with the makefiles again; we still
  3117. don't see any alternative to constant struggles with this problem.
  3118.  
  3119. Documentation
  3120. -------------
  3121.  
  3122. Corrects the -h message, which gave an incorrect file name for the bug
  3123. report form.  (imainarg.c)
  3124.  
  3125. Removes documentation for 16-bit MS-DOS platforms with the Borland compiler.
  3126. (fonts.txt, make.txt, new-user.txt, use.txt)
  3127.  
  3128. Procedures
  3129. ----------
  3130.  
  3131. Fixes bugs:
  3132.     - The Watcom library makefile didn't define the directory
  3133. information for libpng and zlib.  (watclib.mak)
  3134.  
  3135. Moves the selection of band list implementation (file- vs. RAM-based) and
  3136. the compression filter for RAM-based band lists up to the top-level
  3137. makefiles.  Again, this is a NON-BACKWARD-COMPATIBLE procedure change.
  3138. (lib.mak, *.mak)
  3139.  
  3140. Moves the selection of version number for all platforms (except VMS, as
  3141. usual) to a separate file.  This will reduce the number of files that need
  3142. editing when the version number changes.  (ansihead.mak, cc-head.mak,
  3143. gcc-head.mak, ugcclib.mak, version.mak, tar_cat)
  3144.  
  3145. Drivers
  3146. -------
  3147.  
  3148. Fixes bugs:
  3149.     - An error in the (unsupported) SGI RGB driver could cause crashes
  3150. or incorrect output.  (gdevsgi.c)
  3151.  
  3152. Starts to create a framework for structured output ("vector") drivers (PDF,
  3153. PostScript, PCL XL, etc.)  (gdevbbox.h, gdevvec.h, gsdcolor.h, gsstruct.h,
  3154. gxdevice.h, gdevvec.c)
  3155.  
  3156. Moves default page size parameters to a more accessible header.  (gdevprn.h,
  3157. gxdevice.h, gdevx.c)
  3158.  
  3159. Adds a driver that produces properly structured PCL XL output.  This is
  3160. highly experimental and not ready for use yet.  (gdevpx.c)
  3161.  
  3162. Platforms
  3163. ---------
  3164.  
  3165. Removes support for 16-bit MS-DOS platforms with the Borland compiler.  For
  3166. the moment, 16-bit MS Windows is still supported.  (bc.mak, bcflags.mak,
  3167. bclib.mak, tc.mak)
  3168.  
  3169. Interpreter
  3170. -----------
  3171.  
  3172. Fixes bugs:
  3173.     - File-based CIDFonts (with delayed, incremental loading of
  3174. character outlines) didn't work.  (gs_cidfn.ps)
  3175.  
  3176. Finishes implementing the definition of CMap resources, except for
  3177. rearranged fonts.  (gs_cidfn.ps, gs_cmap.ps)
  3178.  
  3179. Adds a little more CMap support code.  (zcid.c)
  3180.  
  3181. Removes the .setcurrentfile operator, since it doesn't solve the problem it
  3182. was intended to address.  (zcontrol.c)
  3183.  
  3184. Adapts the interpreter to use the new argument processing code.
  3185. (imainarg.c)
  3186.  
  3187. Streams
  3188. -------
  3189.  
  3190. Fixes bugs:
  3191.     - The CCITTFaxDecode filter could access as much as 3 bytes beyond
  3192. the end of a buffer, causing an invalid memory access.  (This is essentially
  3193. the same bug that was fixed for the CCITTFaxEncode filter in 4.38.)
  3194. (scfd.c)
  3195.  
  3196. Library
  3197. -------
  3198.  
  3199. Fixes bugs:
  3200.     - Painting an image without having set up any halftone could cause a
  3201. crash.  (gxht.c)
  3202.     - In a very obscure case, an occasional scan line of landscape
  3203. images could get corrupted.  (gximage0.c)
  3204.     - Because of a rounding error, patterns could fail to be painted in
  3205. certain cases.  (gxpcolor.h, gspcolor.c, gxpcmap.c)
  3206.     - Very large line widths or miter limits could cause the computation
  3207. of stroke expansion to overflow.  (gxpaint.h, gdevbbox.c, gxclpath.c,
  3208. gxstroke.c)
  3209.     - The phase could be incorrect for simple patterns.  (gspcolor.c)
  3210.     - The default implementation of copy_mono used an incorrect
  3211. RasterOp.  (gdevdflt.c)
  3212.     - The default implementation of fill_masked didn't increment the row
  3213. pointer, causing characters to appear as solid rectangular blocks.
  3214. (gxdcolor.c)
  3215.  
  3216. Eliminates an unnecessary gsave and grestore from rectfill and rectstroke if
  3217. the path was null.  (gsdps1.c)
  3218.  
  3219. Adds a limit on the amount of space that the default (C heap) allocator will
  3220. allocate, and a record of the maximum amount allocated, to help testing
  3221. embedded products.  (gsmemory.c)
  3222.  
  3223. Changes the band list algorithm for deciding how many replicas of a halftone
  3224. tile to store in the tile cache.  The previous algorithm was too liberal,
  3225. which could cause the cache to overflow and many unnecessary bitmaps to be
  3226. written in the band list.  (gxclbits.c)
  3227.  
  3228. Writes clipping with a rectangle more compactly in the band list.
  3229. (gxfixed.h, gxclpath.c)
  3230.  
  3231. Adds new band list commands for representing 90- and 180-degree arcs
  3232. compactly.  (gxclpath.h, gxclpath.c, gxclread.c)
  3233.  
  3234. Repackages handling of general monochrome images, color images, and 12-bit
  3235. and interpolated images, so that they are included optionally rather than in
  3236. all configurations.  (int.mak, lib.mak, gximage.h, gximage.c,
  3237. gximage[12345].c)
  3238.  
  3239. Changes the structure definition for devices to include no-op pointer
  3240. enumeration and relocation, so they can have subclasses.  (gxdevice.h)
  3241.  
  3242. Adds a library facility for processing command line arguments with
  3243. @-expansion.  (gsargs.h, gsargs.c)
  3244.  
  3245. Version 4.41(private) (1/21/97)
  3246. =====================
  3247.  
  3248. This release adds a PCL XL output driver, and a few performance
  3249. improvements.
  3250.  
  3251. Procedures
  3252. ----------
  3253.  
  3254. Fixes bugs:
  3255.     - The zlib library used an incorrect header file when compiling.
  3256. (zlib.mak)
  3257.  
  3258. Changes the names of the preprocessor symbols indicating the presence of
  3259. system header files to be consistent with the ones used by GNU configure.
  3260. (dvx-tail.mak, ugcclib.mak, unixtail.mak, vms.mak; dirent_.h, time_.h;
  3261. gp_unix.c)
  3262.  
  3263. Changes the method for choosing the compression filter for RAM-based band
  3264. lists.  This is a NON-BACKWARD-COMPATIBLE change in the makefile.  (lib.mak)
  3265.  
  3266. Drivers
  3267. -------
  3268.  
  3269. Adds black-and-white and 8-bit gray PCL XL (PCL 6) drivers for the LaserJet
  3270. 5 and 6 family.  This driver is extremely simple and just emits bitmaps;
  3271. future drivers will use more PCL XL high-level constructs.  (gdevlj56.c)
  3272.  
  3273. Fonts
  3274. -----
  3275.  
  3276. Updates the free font distribution to add the URW Grotesk and Antiqua fonts.
  3277.  
  3278. Interpreter
  3279. -----------
  3280.  
  3281. Fixes bugs:
  3282.     - gs -h and -v returned with a non-zero exit code on all platforms.
  3283. (This is necessary under Windows, to keep the message visible on the screen,
  3284. but nowhere else.)  (imainarg.c)
  3285.     - Resizing a dictionary could exceed dict_max_size, causing memory
  3286. corruption.  (dstack.h, idict.h, idict.c, zdict.c)
  3287.  
  3288. Adds .setlinecap and .setlinejoin that can use the extended range of line
  3289. cap/join values, and redefines setlinecap and setlinejoin in terms of them.
  3290. (gs_init.ps, zgstate.c)
  3291.  
  3292. Streams
  3293. -------
  3294.  
  3295. Fixes bugs:
  3296.     - The CCITTFaxDecode filter with EncodedByteAlign = true skipped to
  3297. a byte boundary before checking for an EOL.  This may be wrong if EndOfLine
  3298. = true; we aren't at all sure what should happen if EndOfLine = false.
  3299. (scfd.c)
  3300.  
  3301. Adds a "no wrapper" option to the zlib streams, to optionally suppress the
  3302. time-consuming integrity checksum computation.  (szlibx.h, szlibc.c,
  3303. szlibd.c, szlibe.c)
  3304.  
  3305. Library
  3306. -------
  3307.  
  3308. Fixes bugs:
  3309.     - Dashed lines with zero-length drawn segments (dots) that fell
  3310. exactly on a corner produced inappropriate output.  (pcl/test19.pxs)
  3311. (gxpdash.c, gxstroke.c)
  3312.     - Dashed lines didn't set the segment notes properly.  (gxpdash.c)
  3313.     - The bounding box device didn't free a bookkeeping structure at the
  3314. end of processing an image.  (gdevbbox.c)
  3315.     - Curve points could get computed incorrectly when using emulated
  3316. floating point.  (gxpcopy.c)
  3317.     - The 1-element cache for curve_x_at_y didn't work if Y was
  3318. decreasing.  (gxfixed.h, gxpcopy.c)
  3319.  
  3320. Distinguishes between error and informational exits.  (stdpre.h)
  3321.  
  3322. Defines and checks maximum values for line cap and join parameters.
  3323. (gslparam.h, gsline.c)
  3324.  
  3325. Removes the 'not last' segment note, since it is not used for anything.
  3326. (gxpath.h, gspath1.c, gxpath2.c, gxpcopy.c, gxpflat.c, gxstroke.c)
  3327.  
  3328. Changes the memory freeing algorithm for RAM-based band lists back to the
  3329. original one, since the "improved" one had more bugs than it was worth
  3330. chasing.  (gxclmem.c)
  3331.  
  3332. Speeds up the A * B / C algorithm a little.  (gsmisc.c)
  3333.  
  3334. Speeds up curve_x_at_y by recognizing more cases that don't require the slow
  3335. A * B / C algorithm.  (gxpcopy.c)
  3336.  
  3337. Changes the path filling code so it uses fill-by-trapezoids even if
  3338. fill_adjust is zero, as long as the flatness is at least 1 pixel.
  3339. (gxfill.c)
  3340.  
  3341. Removes the (unneeded) floating point operations from gx_curve_log2_samples.
  3342. (gxpflat.c)
  3343.  
  3344. Changes the memory-based implementation of band lists so that it constructs
  3345. the compressor and decompressor by calling procedures rather than
  3346. instantiating templates: this allows setting filter parameters to
  3347. non-default values.  (gxclmem.h, gxcllzw.c, gxclmem.c, gxclzlib.c)
  3348.  
  3349. Version 4.40(private) (1/13/97)
  3350. =====================
  3351.  
  3352. This version finally handles the last graphics model discrepancies between
  3353. PostScript and PCL, by correctly implementing null joins, minimum dot
  3354. lengths, and tangent-aligned curve ends.  It also contains some significant
  3355. performance improvements, and as usual a few bug fixes.
  3356.  
  3357. Documentation
  3358. -------------
  3359.  
  3360. Documents the new accurate curves and path dashing operators.
  3361. (language.txt)
  3362.  
  3363. Utilities
  3364. ---------
  3365.  
  3366. Adds switches for genconf to set and unset a prefix for file names.
  3367. (genconf.c)
  3368.  
  3369. Drivers
  3370. -------
  3371.  
  3372. Adds recognition of the new Distiller 3.0 parameters to the PDF writer.
  3373. (None of them have any effect yet.)  (gs_pdfwr.ps, gdevpdfx.h, gdevpdf.c,
  3374. gdevpdfp.c)
  3375.  
  3376. Converts all the output functions in the PDF writer from being file-based to
  3377. using streams, in anticipation of adding compression.  (gdevpdfs.h,
  3378. gdevpdfx.h, gdevpdf*.c, gdevpdfs.c)
  3379.  
  3380. Interpreter
  3381. -----------
  3382.  
  3383. Adds operators for accessing the new accurate curves flag in the graphics
  3384. state.  (zgstate.c)
  3385.  
  3386. Adds an operator for invoking gs_dashpath.  (zpath1.c)
  3387.  
  3388. Interpreter (PDF)
  3389. -----------------
  3390.  
  3391. Fixes bugs:
  3392.     - Indexed color spaces whose base space was a CIE space caused an
  3393. error.  (pdf_draw.ps)
  3394.  
  3395. Library
  3396. -------
  3397.  
  3398. Fixes bugs:
  3399.     - A pointer was declared const incorrectly.  (gxcpath.c)
  3400.     - Filling with a pattern often failed to pass a non-null bitmap ID,
  3401. causing excessive writing in the band list.  (Performance bug only.)
  3402. (gspcolor.c)
  3403.     - The bounding box device didn't discount copy_mono or draw_line
  3404. operations drawing in white.  (gdevbbox.c)
  3405.     - The bounding box device didn't read out the bounding box correctly
  3406. as the PageBoundingBox device parameter.  (It did return it correctly
  3407. through the gx_device_bbox_bbox procedure.)  (gdevbbox.c)
  3408.     - The default implementation of fill_triangle drew nothing or
  3409. incorrect output if the corners of the triangle were specified in certain
  3410. orders (ax < 0 or bx < 0) (i.e., the previous "fix" had a bug).
  3411. (gdevddrw.c)
  3412.  
  3413. Changes tile size from always being set in all bands to being 'known' by
  3414. bands individually.  (gxclist.h, gxcldev.h, gxclbits.c, gxclist.c)
  3415.  
  3416. Computes an additional value in advance when rendering images.  (gximage.h,
  3417. gximage1.c, gximage2.c)
  3418.  
  3419. Replaces some slow loops with calls of memmove.  (gxclmem.c)
  3420.  
  3421. Provides a fixed-point implementation of A * B / C for machines with slow
  3422. floating point.  (gxfixed.h, gsmisc.c)
  3423.  
  3424. Extends the "device color" type to implement filling masked regions as well
  3425. as rectangles.  (gxdcolor.h, gdevdflt.c, gspcolor.c, gxcht.c, gxdcolor.c,
  3426. gxht.c)
  3427.  
  3428. Makes unclipped monobit portrait and landscape images and image masks use
  3429. the new masked fill capability of device colors.  (gximage.h, gximage.c,
  3430. gximage1.c, gximage2.c)
  3431.  
  3432. Adds a macro for determining pointer alignment.  (stdpre.h, gdevdflt.c)
  3433.  
  3434. When floating point is slow, uses a different, faster algorithm for
  3435. gx_curve_x_at_y.  (gxpcopy.c)
  3436.  
  3437. Improves performance by adding a one-element cache for gx_curve_x_at_y.
  3438. (gzpath.h, gxpcopy.c)
  3439.  
  3440. Reduces overhead when banded images are pre-rasterized (currently, always).
  3441. (gxclimag.c)
  3442.  
  3443. Adds a rendering cost estimate field to each band in a band list.  This
  3444. field isn't actually used for anything yet; eventually, the intent is that
  3445. bands with a high cost will get rendered, and stored in compressed form,
  3446. before starting the engine.  (gxclist.h)
  3447.  
  3448. Adds the concept of 'notes' for path segments, to allow remember what
  3449. segments constitute a single curve or arc.  Currently we set these properly
  3450. for everything except dashed paths.  (gxclpath.h, gxpath.h, gzpath.h,
  3451. gspath1.c, gxclpath.c, gxclread.c, gxpath.c, gxpath2.c, gxpcopy.c)
  3452.  
  3453. When the dot length is non-zero, changes curve stroking to always use bevel
  3454. joins within each curve rather than the current join.  This prevents a
  3455. "bristly" look with no join and butt caps.  (gxstroke.c)
  3456.  
  3457. Adds an "accurate curves" capability that makes the last line segment of a
  3458. flattened curve actually be tangent to the curve, which in turn makes
  3459. flat-end caps be correctly perpendicular to the tangent.  (gxpath.h,
  3460. gxpcopy.c)
  3461.  
  3462. Adds an "accurate curves" flag in the graphics state.  (gsline.h,
  3463. gxclpath.h, gxistate.h, gsline.c, gspath.c, gspath1.c, gxclpath.c,
  3464. gxclread.c, gxfill.c, gxstroke.c)
  3465.  
  3466. Changes the meaning of "no join" (gs_join_none) so that instead of producing
  3467. no join and butt caps, it produces whatever the current cap is.  This is
  3468. compatible with the H-P definition.  (gxstroke.c)
  3469.  
  3470. Implements non-zero dot length for dash patterns.  (gxpdash.c)
  3471.  
  3472. Splits off the curve flattening algorithms into a separate file.
  3473. (gxpcopy.c, gxpflat.c)
  3474.  
  3475. Version 4.39(limited) (1/1/97)
  3476. =====================
  3477.  
  3478. This version was created only to accompany a release of the PCL XL
  3479. interpreter.  It was withdrawn the day after it was released, because the
  3480. tools used to produce it put the wrong files in the filesets.
  3481.  
  3482. Documentation
  3483. -------------
  3484.  
  3485. Adds a more detailed description of the third-party ps_view viewer
  3486. interface.  (new-user.txt)
  3487.  
  3488. Corrects an error in a reference to the PSLRM.  (lib.txt)
  3489.  
  3490. Documents the change in .makeoperator.  (language.txt)
  3491.  
  3492. Updates the FTP location of the zlib sources.  (zlib.mak)
  3493.  
  3494. Procedures
  3495. ----------
  3496.  
  3497. Fixes bugs:
  3498.     - The Unix library makefile didn't include the necessary definitions
  3499. for libpng and zlib.  (ugcclib.mak)
  3500.  
  3501. Allows selecting the compression filters for memory-based band lists in the
  3502. makefile.  Makes zlib (deflate) the default compressor for memory-based band
  3503. lists.  (lib.mak)
  3504.  
  3505. Utilities
  3506. ---------
  3507.  
  3508. Fixes bugs:
  3509.     - prfont.ps wouldn't print unencoded characters in Type 42 fonts.
  3510. (prfont.ps)
  3511.  
  3512. Drivers
  3513. -------
  3514.  
  3515. Fixes bugs:
  3516.     - The H-P monochrome driver didn't put out enough initialization
  3517. commands at the beginning of each page to make each page printable
  3518. independently.  (gdevdjet.c)
  3519.  
  3520. Interpreter
  3521. -----------
  3522.  
  3523. Changes ref_stack_count_inline so it never does a procedure call.
  3524. (istack.h)
  3525.  
  3526. Changes .makeoperator so that operator procedures save the stack depths, and
  3527. restore the stack pointers (if possible) if the operator encounters an
  3528. error.  This is a NON-BACKWARD-COMPATIBLE CHANGE; it requires rewriting the
  3529. 'stop' and 'stopped' pseudo-operators (and, if there were any, any other
  3530. pseudo-operators that interact with the error handling machinery) in C.
  3531. (gs_init.ps, interp.c, zcontrol.c)
  3532.  
  3533. Adds recognition of the LeadingEdge, MediaClass, and RollFedMedia keys in a
  3534. page device dictionary, per the Adobe supplement for their version 2017
  3535. interpreter.  This involves a NON-BACKWARD-COMPATIBLE change to the
  3536. (undocumented) .matchpagesize operator.  (gs_setpd.ps, zmedia2.c)
  3537.  
  3538. Makes necessary changes for compatibility with the added parameters for the
  3539. zlib filters.  (zfzlib.c)
  3540.  
  3541. Streams
  3542. -------
  3543.  
  3544. Fixes bugs:
  3545.     - The zlib encoder returned EOFC when it should have returned 0.
  3546. (szlibe.c)
  3547.  
  3548. Adds optional parameters and reset procedures for the zlib filters.
  3549. (szlibx.h, szlibc.c, szlibd.c, szlibe.c)
  3550.  
  3551. Library
  3552. -------
  3553.  
  3554. Fixes bugs:
  3555.     - Displaying characters with a non-standard RasterOp could cause an
  3556. invalid memory access.  (gdevdflt.c)
  3557.     - Banding sometimes used an incorrect RasterOp.  (gxclread.c)
  3558.     - When banding, mixing Patterns and halftones could confuse the
  3559. bookkeeping of tile size, leading to incorrect generation of the band list
  3560. and error messages or confusion when rasterizing.  (gxclist.h, gxclbits.c,
  3561. gxclread.c)
  3562.     - If only the dash pattern offset changed, and not any of the other
  3563. dash-related parameters, the new offset wasn't written in the band list,
  3564. causing incorrect output.  (gxclpath.c)
  3565.     - Oversized halftone tiles didn't report their error code properly.
  3566. (gxclbits.c)
  3567.     - Oversized halftone tiles with RasterOp caused an error.
  3568. (gxclist.c)
  3569.     - When banding, RasterOp transfers that crossed a band boundary
  3570. didn't access the correct source data on bands other than the first.
  3571. (gxclist.c)
  3572.     - There were redundant copies of the code for writing a RasterOp
  3573. value in the band list.  (gxclimag.c, gxclpath.c)
  3574.     - Oversized patterns or halftones produced garbled output.
  3575. (gxclbits.c)
  3576.     - The check for oversized patterns or halftones was slightly
  3577. incorrect, leading to the possibility of writing out a tile that would
  3578. overflow the reading buffer and corrupt memory.  (gxclbits.c)
  3579.     - When banding, RasterOp wasn't applied to fill and stroke
  3580. operations, and wasn't applied correctly to characters.  (gdevdflt.c,
  3581. gxclimag.c, gxclread.c)
  3582.     - The RasterOp-related optimizations for black-and-white images
  3583. sometimes produced incorrect output.  (gximage.c, gximage2.c)
  3584.     - The default implementation of fill_triangle didn't draw anything
  3585. if the corners of the triangle were specified in certain orders (ax < 0 or
  3586. bx < 0).  (gdevddrw.c)
  3587.     - Painting with a Pattern could pass out-of-range phase values to
  3588. driver procedures.  (gspcolor.c)
  3589.     - Because of an off-by-1 error, halftones or patterns passed through
  3590. the band list could write past the end of their allocated space in the band
  3591. tile cache, leading to incorrect output or possible arithmetic exceptions or
  3592. memory access errors.  (gsbitops.c)
  3593.  
  3594. Adds -Z: for printing only the minimal command list statistics.  (gxclist.c,
  3595. gxclread.c)
  3596.  
  3597. Expands band list tracing so it includes all of the data associated with the
  3598. command, not just the command name and a few command parameters.
  3599. (gxclread.c)
  3600.  
  3601. Adds free lists for strings.  Currently these are only used in
  3602. non-garbage-collected environments.  (gxalloc.h, gsalloc.c, gsnogc.c)
  3603.  
  3604. Adds a procedure for copying a path structure, and an (internal) accessor
  3605. for the current path in the graphics state.  (gxpath.h, gspath.c, gxpath.c)
  3606.  
  3607. Speeds up filling characters with halftones a little bit.  (gdevdflt.c)
  3608.  
  3609. Changes the memory-based implementation of band lists so it can use any
  3610. compression / decompression filter, so it only compresses when it has
  3611. allocated a specified amount of buffer storage, and so it releases its
  3612. buffer storage at the end of each page.  (gxclmem.h, gxclmem.c)
  3613.  
  3614. Speeds up counting the number of 1-bits in a byte, which is used in some
  3615. image processing algorithms.  (gsbittab.h, gsbittab.c)
  3616.  
  3617. Reduces the band list space required for changing tile size.  (gxcldev.h,
  3618. gxclbits.c, gxclread.c)
  3619.  
  3620. Version 4.38(limited) (12/20/96)
  3621. =====================
  3622.  
  3623. Adds support for a couple of undocumented features in Type 1 fonts.
  3624.  
  3625. Interpreter
  3626. -----------
  3627.  
  3628. Adds handling of the Type 1 font subroutineNumberBias (an optional entry in
  3629. the Private dictionary) and lenIV = -1 features at the interpreter level.
  3630. (zchar1.c, zfont1.c)
  3631.  
  3632. Streams
  3633. -------
  3634.  
  3635. Fixes bugs:
  3636.     - The CCITTFaxEncode filter could access as much as 3 bytes beyond
  3637. the end of a buffer, causing an invalid memory access.  (scfe.c)
  3638.  
  3639. Changes the RunLengthDecode filter so it can make progress (produce output)
  3640. with only a 1-byte output buffer.  (srlx.h, srld.c)
  3641.  
  3642. Library
  3643. -------
  3644.  
  3645. Fixes bugs:
  3646.     - The sine and cosine of multiples of 90 degrees weren't exact.
  3647. (gxfarith.h, gsmisc.c)
  3648.     - The expanded bounding box computation for strokes didn't take into
  3649. account the possibility of overflow.  (gxstroke.c)
  3650.     - The allocator didn't fill freed strings with the 'free' mark.
  3651. (gsalloc.c)
  3652.     - When using a pattern with RasterOp, the phase was computed
  3653. incorrectly, leading to anomalous filling patterns.  (gspcolor.c)
  3654.     - Patterns with a non-zero translation in the matrix passed to
  3655. makepattern didn't translate the pattern origin properly.  (gxcolor2.h,
  3656. gxpcolor.h, gspcolor.c)
  3657.  
  3658. Adds a subroutineNumberBias field to Type 1 fonts.  This is an undocumented
  3659. feature of the Type 1 font format.  (gxfont1.h, gstype1.c)
  3660.  
  3661. Interprets lenIV = -1 in Type 1 fonts as meaning that the CharStrings are
  3662. unencrypted.  This too is an undocumented feature of the Type 1 format.
  3663. (gxfont1.h, gxtype1.h, gstype1.c, gstype2.c)
  3664.  
  3665. Changes gs_clippath so it returns more reasonable outlines.  (There are too
  3666. many programs that rely on being able to stroke the result of clippath, even
  3667. though both the Adobe and H-P literature specifically say the results are
  3668. unpredictable.)  (gxcpath.h, gxcpath.c)
  3669.  
  3670. Version 4.37(limited) (12/10/96)
  3671. =====================
  3672.  
  3673. This version implements separate halftone phase for source and texture,
  3674. required for PCL XL implementation.
  3675.  
  3676. Fonts
  3677. -----
  3678.  
  3679. Fixes bugs:
  3680.     - Loading a native TrueType font without a 'post' table caused an
  3681. error.  (gs_ttf.ps)
  3682.  
  3683. Interpreter
  3684. -----------
  3685.  
  3686. Extends the interpreter to handle the new separate halftone phases for the
  3687. RasterOp source and texture.  (gs_dps1.ps, zdps1.c)
  3688.  
  3689. Makes a small change to accommodate a library change supporting Type 2
  3690. charstrings.  (zfont1.c)
  3691.  
  3692. Interpreter (PDF)
  3693. -----------------
  3694.  
  3695. Implements the FontFile2 key for embedded TrueType fonts.  (pdf_font.ps)
  3696.  
  3697. Starts to implement the FontFile3 key for compressed Type 1 fonts.  This
  3698. code is currently disabled, because none of the necessary underlying C is
  3699. written yet.  (pdf_font.ps)
  3700.  
  3701. Library
  3702. -------
  3703.  
  3704. Fixes bugs:
  3705.     - The floating point emulator often returned incorrect results (too
  3706. many bugs to list).  (This is not used in any standard configuration.)
  3707. (gsfemu.c)
  3708.     - The new copy_for procedure for gstates incorrectly declared an
  3709. argument as const.  (gxstate.h, gsstate.c)
  3710.     - If a curve had to be split twice along the same axis to make it
  3711. monotonic, the split points could still be returned in the wrong order,
  3712. possibly causing curved edges to turn into straight lines, and the algorithm
  3713. still produced the wrong results if the curve had to be split twice along a
  3714. single axis.  This is the second time we have "fixed" these problems and the
  3715. 4th time we have "fixed" the curve monotonizing algorithm.  (gxpcopy.c)
  3716.     - Setting halftones cause a memory leak, because the subsidiary
  3717. objects of the device halftone weren't freed properly.  Fixing this required
  3718. changing the graphics state implementation from allocating a device halftone
  3719. for each gstate to managing the device halftone with reference counting.
  3720. (gxdht.h, gzstate.h, gsht.c, gsstate.c)
  3721.  
  3722. Provides an optimized version of ldexp for FPU-less configurations, and
  3723. changes one key algorithm to use it.  (gxfixed.h, gsmisc.c, gxpcopy.c)
  3724.  
  3725. Speeds up imagemask with a halftone a little.  (This will eventually require
  3726. more serious optimization.)  (gximage2.c)
  3727.  
  3728. Adds a -Z* switch for tracing varieties of image rendering.  (gximage.c)
  3729.  
  3730. Recognizes that if the logical operation is equivalent to D = S (after
  3731. accounting for a constant texture, if any), or if it is equivalent to D = ~S
  3732. or D = D {&,|}{S,~S} and D and S are both monobit and both colors are pure,
  3733. imaging with RasterOp can be executed without invoking RasterOp.  (gsropt.h,
  3734. gximage.c)
  3735.  
  3736. Makes coordinate transformations with landscape matrices execute as fast as
  3737. with portrait matrices.  (gxmatrix.h, gscoord.c, gsmatrix.c)
  3738.  
  3739. Adds some sketch code for interpreting Type 2 charstrings.  It compiles, but
  3740. it makes no pretense of being runnable.  (gstype1.h, gxop1.h, gxtype1.h,
  3741. gstype2.h, gxfont1.h, gstype1.c, gstype2.c)
  3742.  
  3743. Extends the library to allow setting separate halftone phases for the
  3744. RasterOp source and texture, which is needed to implement halftone screens
  3745. that behave like those in H-P's PCL XL printers.  (gscsel.h, gsstate.h,
  3746. gxcmap.h, gxcspace.h, gxdcolor.h, gxdither.h, gxpcolor.h, gzht.h, gzstate.h,
  3747. gscie.c, gscsepr.c, gsht.c, gspcolor.c, gxcht.c, gxcmap.c, gxdcolor.c,
  3748. gxht.c, gximage.c, gximage[2345].c, gspcmap.c) ****** STILL NEED TO UPDATE
  3749. BANDING CODE, grep FOR phase ******
  3750.  
  3751. Removes the rc_header member from the gs_halftone structure, since we don't
  3752. need it after all.  (gxht.h)
  3753.  
  3754. Version 4.36(limited) (12/3/96)
  3755. =====================
  3756.  
  3757. This version fixes a number of library bugs related to RasterOp, Patterns,
  3758. and memory management.
  3759.  
  3760. Documentation
  3761. -------------
  3762.  
  3763. Changes the definition of texture transparency to match the peculiar H-P
  3764. specification.  (drivers.txt, language.txt)
  3765.  
  3766. Drivers
  3767. -------
  3768.  
  3769. Fixes bugs:
  3770.     - x_get_bits didn't flush updates to the frame buffer, leading to
  3771. possibly incorrect data being returned.  (gdevx.c)
  3772.     - x_get_bits added padding to the scan line being copied, possibly
  3773. corrupting memory.  (gdevx.c)
  3774.  
  3775. Changes the x11mono driver to define white = 0, black = 1 to more closely
  3776. model black-and-white printers.  (This is an internal change that doesn't
  3777. affect the output.)  (gdevxalt.c)
  3778.  
  3779. Interpreter
  3780. -----------
  3781.  
  3782. Removes some code that is no longer needed, by virtue of the fix for the
  3783. memory leak in Pattern remapping.  (zpcolor.c)
  3784.  
  3785. Library
  3786. -------
  3787.  
  3788. Fixes bugs:
  3789.     - Patterns wider than 1024 bits caused a rangecheck.  (gxclip2.h,
  3790. gxclip2.c)
  3791.     - Dash patterns never got freed.  The fix for this slows down gsave
  3792. and grestore slightly, but we don't see any way around it.  (gsline.c,
  3793. gsstate.c)
  3794.     - If the CTM was very non-uniform in X and Y, stroke sometimes
  3795. didn't recognize thin lines as being thin, leading to dropouts.
  3796. (gxstroke.c)
  3797.     - RasterOps that didn't use S or T still took S or T transparency
  3798. into account.  (gdevmrop.c)
  3799.     - RasterOps with no source didn't handle the possibility that the
  3800. device color for black might have a value other than 0.  (gxdcolor.h,
  3801. gspcolor.c, gxcht.c, gxdcolor.c, gxht.c)
  3802.     - White pixels in halftones on black-and-white devices apparently
  3803. are *not* supposed to be treated as opaque for RasterOp.  (gxcht.c, gxht.c)
  3804.     - clippath caused memory to be lost until a restore or a garbage
  3805. collection.  (gspath.c)
  3806.     - Clipping lists weren't ever freed, and clipping paths sometimes
  3807. weren't freed, causing memory to be lost until a restore or a garbage
  3808. collection.  (gzacpath.h, gxacpath.c, gxcpath.c)
  3809.     - Freeing a pattern instance referenced a pointer after it had been
  3810. freed, causing an invalid memory access.  (gspcolor.c)
  3811.     - Remapping a Pattern color lost track of the temporary gstate,
  3812. memory devices, and possibly the mask, causing memory to be lost until a
  3813. restore or GC.  (gxpcolor.h, gxpcmap.c)
  3814.     - Remapping a Pattern color could cause paths to be marked as
  3815. shared, preventing them from being freed until a restore or GC.  (gxpcmap.c)
  3816.  
  3817. Enhances the non-tracing garbage collector so that if there are no strings
  3818. allocated at all, it resets the string allocation pointers.  (gsnogc.c)
  3819.  
  3820. Optimizes the black-and-white RasterOp implementation by recognizing cases
  3821. that can be implemented directly by fill_rectangle, copy_mono, or
  3822. tile_rectangle.  (gdevmrop.h, gsropt.h, gdevmrop.c, gsroptab.c)
  3823.  
  3824. Changes -ZA so it no longer produces [P] tracing messages for path
  3825. construction.  (gxpath.c)
  3826.  
  3827. Adds a gx_pattern_cache_winnow procedure for selectively removing entries
  3828. from the Pattern cache, similar to gx_purge_selected_cached_chars.
  3829. (gscolor2.h, gxpcolor.h, gxpcmap.c)
  3830.  
  3831. Adds the Pattern UID to Pattern cache entries.  (gxpcolor.h, gxpcmap.c)
  3832. ****** MUST HANDLE XUID POINTERS ON GC (RELOC) & RESTORE (CLEAR LIKE HT
  3833. CACHE) ******
  3834.  
  3835. Makes gs_gstate free the path representation of the clipping path if it's a
  3836. rectangle, since reconstructing it is cheap and otherwise the path segments
  3837. would not be freeable until a restore or GC.  (gsstate.c)
  3838.  
  3839. Extends the "client data" interface for gstates so that the copy procedure
  3840. can determine why it is being called.  (gxstate.h, gsstate.c)
  3841.  
  3842. Version 4.35(limited) (11/24/96)
  3843. =====================
  3844.  
  3845. This contains the usual bug fixes, and two minor enhancements: an option for
  3846. handling EPSF files with binary headers, and support for file-based
  3847. resources.
  3848.  
  3849. Documentation
  3850. -------------
  3851.  
  3852. Documents the new EPSF-reading capability.  (gs.mak)
  3853.  
  3854. Procedures
  3855. ----------
  3856.  
  3857. Fixes bugs:
  3858.     - Some obsolete definitions were accidentally left in the rules for
  3859. compiling fonts into the executable.  (int.mak)
  3860.  
  3861. Interpreter
  3862. -----------
  3863.  
  3864. Fixes bugs:
  3865.     - initgraphics left the current color space in an inconsistent
  3866. state.  (bug introduced in 4.32) (zgstate.c)
  3867.     - restore didn't properly rebind FontDirectory to either Local or
  3868. SharedFontDirectory according to the current VM selection.  (gs_dps1.ps)
  3869.     - If FontDirectory was redefined, many things broke.  (gs_ccfnt.ps,
  3870. gs_dps1.ps, gs_fonts.ps, gs_pdfwr.ps)
  3871.     - If a resource provided a file name but the file couldn't be
  3872. opened, an error occurred.  (gs_res.ps)
  3873.     - flushfile didn't work with procedure-based streams.  (zfileio.c)
  3874.  
  3875. Adds a feature (epsf.dev) that allows the interpreter to recognize and
  3876. handle MS-DOS EPSF files with a binary header.  (int.mak, gs_epsf.ps,
  3877. gs_init.ps, pdf_main.ps)
  3878.  
  3879. Adds (internal) .getuserparam and .getsystemparam operators for getting the
  3880. value of a single user or system parameter.  (gs_lev2.ps, zusparam.c)
  3881.  
  3882. To support file-based resources, implements the FontResourceDir,
  3883. GenericResourceDir, and GenericResourcePathSep system parameters, and
  3884. ResourceFileName for the built-in resource categories.  (gs_init.ps,
  3885. gs_lev2.ps, gs_res.ps)
  3886.  
  3887. Streams
  3888. -------
  3889.  
  3890. Fixes bugs:
  3891.     - The 2-D CCITTFaxDecode filter became confused if a buffer boundary
  3892. fell between a horizontal make-up code and its terminating code, typically
  3893. causing an ioerror.  (scfd.c)
  3894.  
  3895. Library
  3896. -------
  3897.  
  3898. Fixes bugs:
  3899.     - Using the null color could confuse the reference counts for color
  3900. spaces, causing memory access errors.  (gscolor.c)
  3901.     - Images with CombineWithColor = true caused memory access error,
  3902. because a structure element wasn't initialized.  (gdevmrop.c)
  3903.     - gs_setnullcolor tried to return an error code, even though it was
  3904. declared as returning void.  (Why doesn't gcc catch this??)  (gscolor.h,
  3905. gscolor.c)
  3906.     - gs_setnullcolor was declared inconsistently as taking a const or
  3907. non-const argument.  (gscolor.h)
  3908.     - Small color tiles in the band list were not read in correctly.
  3909. (gxclread.c)
  3910.     - The band list could get confused, causing ioerrors, invalid memory
  3911. accesses, or garbled output, because the algorithms for computing the size
  3912. of bitmaps when writing and when reading had gotten inconsistent.  This code
  3913. has been broken and "fixed" at least 4 or 5 times.  (gxcldev.h, gxclbits.c,
  3914. gxclread.c)
  3915.     - When using banding, characters that extended off the page
  3916. vertically in the -Y direction came out garbled.  (gxclimag.c)
  3917.     - The bounding box device didn't compute the box correctly for
  3918. trapezoids.  (gdevbbox.c)
  3919.     - The fastest case of rendering monochrome images could cause
  3920. unaligned data accesses.  (bug introduced recently.)  (gximage.h,
  3921. gximage1.c)
  3922.     - TrueType characters with no contours could cause an invalid memory
  3923. access.  (gstype42.c)
  3924.     - Composite TrueType characters weren't rendered properly.
  3925. (gstype42.c)
  3926.  
  3927. Adds a get_outline procedure to the Type 42 font header, to provide a
  3928. callback for getting the outline data for a glyph.  (gxfont42.h, gstype42.c)
  3929.  
  3930. Version 4.34(limited) (11/18/96)
  3931. =====================
  3932.  
  3933. This release adds a little more support for CID-keyed fonts and for PCL
  3934. emulation, and a bit more of the machinery for passing images through the
  3935. band list.
  3936.  
  3937. Documentation
  3938. -------------
  3939.  
  3940. Fixes bugs:
  3941.     - The RasterOp source device wasn't listed as an internal device in
  3942. drivers.txt.  (drivers.txt)
  3943.  
  3944. Corrects a statement regarding the pstotext license.  (new-user.txt)
  3945.  
  3946. Procedures
  3947. ----------
  3948.  
  3949. Fixes bugs:
  3950.     - The Watcom makefile for the library didn't work properly if
  3951. certain variables were overridden from the command line.  (watclib.mak)
  3952.     - The library code inadvertently depended on an interpreter header
  3953. file.  (*.mak)
  3954.  
  3955. Drivers
  3956. -------
  3957.  
  3958. Fixes bugs:
  3959.     - Some very picky compilers complained about assigning 0 to a
  3960. variable of an enum type.  (gdevpdfx.h, gdevpdf.c)
  3961.  
  3962. Interpreter
  3963. -----------
  3964.  
  3965. Fixes bugs:
  3966.     - Some very picky compilers didn't like a cast from a pointer type
  3967. to an int type.  (idebug.c)
  3968.     - Some very picky (and non-ANSI-compliant) compilers didn't allow
  3969. assigning an int to a variable of enumerated type.  (zfont2.c, zht2.c)
  3970.     - The library code inadvertently depended on an interpreter header
  3971. file.  (iref.h)
  3972.  
  3973. Restructures the font building code slightly to support CID fonts better.
  3974. (gs_cidfn.ps, bfont.h, zcid.c, zfont0.c, zfont1.c, zfont2.c, zfont42.c)
  3975.  
  3976. Adds a .setcurrentfile operator to allow disk-based fonts to keep their file
  3977. open.  (gs_cidfn.ps, zcontrol.c)
  3978.  
  3979. Streams
  3980. -------
  3981.  
  3982. Fixes bugs:
  3983.     - Some very picky compilers didn't like the computation (const byte
  3984. *)0 - 1.  (stream.c)
  3985.     - A cast to ulong was omitted.  (smtf.c)
  3986.     - Some compilers got confused by typedefs in the zlib header files.
  3987. (szlibd.c, szlibe.c)
  3988.  
  3989. Library
  3990. -------
  3991.  
  3992. Fixes bugs:
  3993.     - A header file didn't select the proper system header on all POSIX
  3994. systems.  (malloc_.h)
  3995.     - A subclass/superclass type discrepancy upset some compilers.
  3996. (gsline.h, gsline.c, gxpdash.c)
  3997.     - Some very picky compilers didn't accept the previous definition of
  3998. the offset_of macro.  (stdpre.h)
  3999.     - Some very picky (and non-ANSI-compliant) compilers didn't like
  4000. mixing int and enumerated types.  (gsropt.h, gzstate.h, gdevmrop.c,
  4001. gdevrrgb.c, gsrop.c, gxclist.c)
  4002.     - A cast was missing.  (gslib.c)
  4003.     - The gs_setxxxtransparent procedures interpreted their argument
  4004. backwards (i.e., as "opaque" rather than "transparent").  (gsrop.c)
  4005.     - Intersecting clipping paths didn't reset the logical operation to
  4006. the default, causing a possible crash.  (gsrop.h, gsrop.c, gxacpath.c)
  4007.     - Pattern accumulation didn't reset the logical operation to the
  4008. default, possibly causing incorrect output.  (gspcolor.c)
  4009.     - If a Type 1 character ended with a curve and a closepath, a
  4010. microscopic line could result, causing output anomalies.  (gstype1.c)
  4011.     - Stroking a path with a mix of thin and non-thin lines could cause
  4012. extraneous lines to appear.  (gxstroke.c)
  4013.     - Zero-width rectangles were painted even when fill adjustment was
  4014. turned off.  (gxpaint.c, gxstroke.c)
  4015.     - The algorithm for dividing a curve into monotonic pieces could
  4016. produce incorrect results, causing anomalies when filling curved regions
  4017. with zero fill adjustment.  (gxpcopy.c)
  4018.     - The algorithms for outside clipping were wrong, causing some
  4019. inside regions not to be clipped.  (gxcpath.c)
  4020.     - The white pixels in halftones weren't treated as unconditionally
  4021. opaque for RasterOp.  (gxht.c, gxcht.c)
  4022.     - Images with RasterOp didn't work properly.  (gdevmrop.c,
  4023. gximage[2345].c, gxpcmap.c)
  4024.     - The library code inadvertently depended on an interpreter header
  4025. file.  (gxalloc.h, genarch.c)
  4026.     - An important optimization for stroking (recognizing portrait,
  4027. landscape, and unscaled CTMs) was commented out.  WE DON'T HAVE ANY RECORD
  4028. OF WHY WE DID THIS, AND RESTORING IT MAY INTRODUCE NEW BUGS.  (gxstroke.c)
  4029.     - Bitmap images with non-zero data_x values were passed through the
  4030. band list incorrectly, possibly causing vertical "streaks" in the output.
  4031. (gxcldev.h, gxclread.c)
  4032.     - If a curve had to be split twice along the same axis to make it
  4033. monotonic, the split points were returned in the wrong order, possibly
  4034. causing curved edges to turn into straight lines.  (gxpcopy.c)
  4035.  
  4036. Changes the debugging printout format for paths so the output can be
  4037. processed mechanically more easily.  (gxpath.c)
  4038.  
  4039. Adds gs_glyphpath, like charpath but taking a glyph rather than a string of
  4040. character codes.  (gschar.h, gschar.c)
  4041.  
  4042. Adds an internal concept of a "null color", a color that doesn't actually
  4043. mark any pixels.  (gscolor.h, gsdcolor.h, gxdcolor.h, gscolor.c, gxdcolor.c)
  4044.  
  4045. Takes the next incremental steps towards passing images through the band
  4046. list:
  4047.     - Implements the ability to pass some color mapping information
  4048. (transfer functions, black generation, undercolor removal) through the band
  4049. list.  (gxclist.h, gxclimag.c, gxclist.c, gxclread.c)
  4050.  
  4051. Version 4.33(limited) (11/6/96)
  4052. =====================
  4053.  
  4054. This release fixes yet another obscure bug in the recently rewritten fast
  4055. loops for image rendering.  (These loops have caused more problems than any
  4056. other single module of the entire library.)  It also adds preliminary
  4057. support for CID-keyed fonts (CIDFonts only, not CMaps yet) and some library
  4058. extensions for supporting HP-GL/2.
  4059.  
  4060. Documentation
  4061. -------------
  4062.  
  4063. Adds considerable new material to the C style document.  (c-style.txt)
  4064.  
  4065. Changes -cckr to -ansi in the SGI build procedure.  (make.txt)
  4066.  
  4067. Corrects an error in the description of the .type42execchar operator.
  4068. (gs_typ42.ps)
  4069.  
  4070. Procedures
  4071. ----------
  4072.  
  4073. Fixes bugs:
  4074.     - The 'man' pages were installed in the documentation directory as
  4075. well as in the man directory.  (unix-end.mak)
  4076.  
  4077. Interpreter
  4078. -----------
  4079.  
  4080. Adds support for CID-keyed fonts.  There is no CMap support yet, and some
  4081. things are done with hacks.  (int.mak, gs_cidfn.ps, gs_cmap.ps, ichar.h,
  4082. zchar.c, zchar2.c, zchar42.c, zfont2.c, zfont42.c, zcid.c)
  4083.  
  4084. Adds operators for accessing the new dash adaptation and dot length
  4085. parameters in the graphics state.  (gs_init.ps, zgstate.c)
  4086.  
  4087. Library
  4088. -------
  4089.  
  4090. Fixes bugs:
  4091.     - The fast case of monobit image rendering could overwrite memory.
  4092. (gximage1.c)
  4093.     - The new fast implementation of rectfill didn't check for
  4094. fixed-point overflow.  (gsdps1.c)
  4095.     - Internally, fonts with no name all appeared to have the same name,
  4096. possibly confusing the xfont machinery.  (gxccman.c)
  4097.     - A cast to remove const was omitted, upsetting some compilers.
  4098. (gximage1.c)
  4099.     - The driver's stroke_path routine was not called if the logical
  4100. operation was not the default one.  (gxpaint.c)
  4101.  
  4102. Adds support for CID-keyed fonts.  (gsccode.h, gxfont.h)
  4103.  
  4104. Adds a new "dash pattern adaptation" flag in the imager state.  When this
  4105. flag is set and a dash pattern is in effect, each line segment will receive
  4106. an integral number of repetitions of the dash pattern (if necessary, rounded
  4107. up).  (gsline.h, gxline.h, gsline.c, gsstate.c, gxpdash.c)
  4108.  
  4109. Adds a new "dot length" parameter to the imager state.  If this parameter is
  4110. non-zero, it gives a length for rendering dots (zero-length lines).  See
  4111. language.txt for details.  (gsline.h, gxline.h, gsline.c, gsstate.c,
  4112. gxstroke.c)
  4113.  
  4114. Extends band lists so they can handle dash pattern adaptation and dot
  4115. length.  (gxcldev.h, gxclpath.h, gxclpath.c, gxclread.c)
  4116.  
  4117. Adds a floating point emulator to allow more realistic profiling of
  4118. configurations without a FPU.  (gsfemu.c)
  4119.  
  4120. Version 4.32(limited) (11/1/96)
  4121. =====================
  4122.  
  4123. This fixes a couple more bugs, most notably the infamous "pixel stripe" bug.
  4124.  
  4125. Documentation
  4126. -------------
  4127.  
  4128. Fixes bugs:
  4129.     - The documentation said that Ghostscript could not interpret
  4130. encrypted PDF files.  (language.txt)
  4131.     - A number of Ghostscript's extensions to the PostScript language
  4132. were missing.  (language.txt)
  4133.  
  4134. Drivers
  4135. -------
  4136.  
  4137. Fixes bugs:
  4138.     - A compiler complained about initializing an unsigned variable with
  4139. a negative value.  (gdevx.c)
  4140.     - An off-by-1 allocation error could cause memory overwriting.
  4141. (gdevepsc.c)
  4142.  
  4143. Platforms
  4144. ---------
  4145.  
  4146. Declares a pointer 'const' that is actually only used for reading.
  4147. (gp_unifs.c)
  4148.  
  4149. Fonts
  4150. -----
  4151.  
  4152. Fixes bugs:
  4153.     - The code for adding nominal UnderlinePosition and
  4154. UnderlineThickness entries to FontInfo assumed (incorrectly) that all Type 1
  4155. fonts had FontBBox entries.  (gs_type1.ps)
  4156.  
  4157. Brings CIDFont support closer to reality.  It doesn't work yet, though.
  4158. (gs_cidfn.ps, gs_fonts.ps, gs_init.ps, gs_res.ps, gs_typ42.ps)
  4159.  
  4160. Interpreter
  4161. -----------
  4162.  
  4163. Removes a redundant implementation of initgraphics.  (gs_init.ps)
  4164.  
  4165. Speeds up rectfill a little for the common case (4 numbers on the stack).
  4166. (zdps1.c)
  4167.  
  4168. Library
  4169. -------
  4170.  
  4171. Fixes bugs:
  4172.     - Zero-width, 1-bit-deep, landscape or portrait images could
  4173. overwrite memory ad lib.  (gximage1.c)
  4174.     - A procedure was declared 'static' inconsistently, upsetting many
  4175. compilers (but not gcc, which, in contradiction to the ANSI standard,
  4176. doesn't check this properly).  (gxcpath.c)
  4177.     - A local variable was initialized with a value computed from a
  4178. variable that hadn't been set yet, leading to possibly incorrect coloring of
  4179. the first run of pixels in images with 12 bits per sample.  (gximage4.c)
  4180.     - A compiler complained about initializing an unsigned variable with
  4181. a negative value.  (shcgen.c)
  4182.     - A rounding problem could produce a vertical stripe of 1 (or on
  4183. very large images possibly more) incorrect pixels at the right edge of a
  4184. 1-bit-deep image.  (gxdda.h, gximage1.c)
  4185.  
  4186. Speeds up gs_rectfill substantially for the portrait/landscape case with a
  4187. rectangular clipping region.  (gsdps1.c)
  4188.  
  4189. Adds a parameter so we can include gx_line_params in subclasses.  (gzline.h)
  4190.  
  4191. Version 4.31(limited) (10/27/96)
  4192. =====================
  4193.  
  4194. This is primarily a bug fix release for 4.30, which we had hoped wouldn't be
  4195. necessary....
  4196.  
  4197. Documentation
  4198. -------------
  4199.  
  4200. Fixes bugs:
  4201.     - The comment describing the order of coefficients in a CTM written
  4202. on the band list was wrong.  (gxclpath.h)
  4203.  
  4204. Procedures
  4205. ----------
  4206.  
  4207. Fixes bugs:
  4208.     - bug-form.txt wasn't installed by 'make install'.  (unix-end.mak)
  4209.     - The default flags in ugcclib.mak didn't take the gcc code
  4210. generation bug into account.  (ugcclib.mak)
  4211.  
  4212. Platforms
  4213. ---------
  4214.  
  4215. Fixes bugs:
  4216.     - MetroWerks CodeWarrior predefines true and false, causing
  4217. compilation errors on the Mac.  (stdpre.h)
  4218.  
  4219. Interpreter
  4220. -----------
  4221.  
  4222. Updates code for the change in the ENUM_PTR macros.  (iscan.c)
  4223.  
  4224. Changes the allocator to keep track of "lost" ref space separately, to allow
  4225. an independent check on its activities.  (gxalloc.h, ialloc.c, isave.c)
  4226.  
  4227. Changes the garbage collector API slightly to allow implementation of the
  4228. API in applications other than PostScript interpreters.  (ivmspace.h,
  4229. ireclaim.c, igc.c)
  4230.  
  4231. Interpreter (PDF)
  4232. -----------------
  4233.  
  4234. Implements the PDF 1.1 BX and EX operators.  (pdf_base.ps, pdf_main.ps)
  4235.  
  4236. Streams
  4237. -------
  4238.  
  4239. Fixes bugs:
  4240.     - Some (harmless) pointer incompatibilities upset some compilers.
  4241. (szlibd.c, szlibe.c)
  4242.  
  4243. Updates code for the change in the ENUM_PTR macros.  (stream.c)
  4244.  
  4245. Library
  4246. -------
  4247.  
  4248. Fixes bugs:
  4249.     - A label in the ENUM_PTR procedure generating macros was often not
  4250. referenced, leading to compiler warnings.  (gsstruct.h, gxxfont.h,
  4251. gdevmem.c, gschar.c, gscolor2.c, gsdevice.c, gsfont0.c, gsht.c, gsstate.c,
  4252. gxcpath.c, gximage.c)
  4253.     - Using the gstate version of setflat rather than the imager version
  4254. caused compiler warnings (and, in some cases, errors).  (gstype1.c)
  4255.     - Non-standard ImageMatrix values for banded images didn't work.
  4256. (This wasn't actually used.)  (gxclread.c)
  4257.     - imagemask with a halftone and portrait orientation colored some
  4258. inappropriate pixels.  (bug introduced in 4.30) (gximage2.c)
  4259.     - When banding, if a character straddled a band boundary the first
  4260. time it occurred, all occurrences of it were clipped.  (bug introduced in
  4261. 4.2x or 4.30) (gxclimag.c)
  4262.     - Degenerate clipping rectangles sometimes got turned into
  4263. non-degenerate ones by swapping the min and max coordinates.  (gxcpath.c)
  4264.     - Resizing an object either allocated a new object unnecessarily
  4265. (performance bug only), or in very rare cases could corrupt memory.
  4266. (gsalloc.c)
  4267.     - Very small objects didn't get put on a free list when freed.
  4268. (Performance bug only.) (gsalloc.c)
  4269.     - Some pointers were incorrectly declared 'const', upsetting some
  4270. compilers.  (gxclread.c)
  4271.  
  4272. Adds more tracing output for -ZL.  (gxclread.c)
  4273.  
  4274. Changes the -Za tracing output slightly to aid mechanical analysis of
  4275. allocation traces: allocation events now always include a '+', deallocation
  4276. events always include a '-', and the address is always the address of the
  4277. object data and not the header.  (gsalloc.c, gsmemory.c)
  4278.  
  4279. Changes the allocator to keep track of "lost" object and string space
  4280. separately, to allow an independent check on its activities.  (gxalloc.h,
  4281. gsalloc.c)
  4282.  
  4283. Changes the allocator to use 'memmove' in an obvious place.  (gsalloc.c)
  4284.  
  4285. Provides a garbage collector API at the library level to allow
  4286. implementation of the API in applications other than PostScript
  4287. interpreters.  (gsgc.h)
  4288.  
  4289. Version 4.30(limited) (10/23/96)
  4290. =====================
  4291.  
  4292. The main purpose of this release is to implement a substantial change in the
  4293. "high level" image API, after which we believe this API will be stable.
  4294.  
  4295. Documentation
  4296. -------------
  4297.  
  4298. Documents the changes in the begin_image and image_data device procedures.
  4299. (drivers.txt)
  4300.  
  4301. Drivers
  4302. -------
  4303.  
  4304. Speeds up the PDF writer a little by reducing the amount of allocation,
  4305. which was causing very frequent garbage collections.  (gs_pdfwr.ps,
  4306. gdevpdft.c)
  4307.  
  4308. Updates the PDF writer for the change in begin_image/image_data.
  4309. (gdevpdfi.c)
  4310.  
  4311. Platforms
  4312. ---------
  4313.  
  4314. Fixes bugs:
  4315.     - Some versions of the SGI IRIX compiler have a bug that causes them
  4316. to try to expand macros that require arguments even when the macro name
  4317. isn't followed by a left parenthesis.  (gdevsgi.h, gdevsgi.c)
  4318.     - The IBM RS6000 compilers now provide <stdlib.h>, so our
  4319. definitions of malloc and free caused a conflict.  (malloc_.h)
  4320.  
  4321. Fonts
  4322. -----
  4323.  
  4324. Fixes bugs:
  4325.     - Many Fontmaps included obsolete references to an old
  4326. Helvetica-Narrow font.  (Fontmap.*)
  4327.  
  4328. Makes the GS_FONTPATH directory scanner a little more liberal about what
  4329. files it examines: it will now examine any file whose first line begins with
  4330. %!PS-Adobe or %!FontType.  (gs_fonts.ps)
  4331.  
  4332. To match an apparent Adobe convention, augments findfont so that if a font
  4333. isn't in the Fontmap, it will try to load a file whose name is the same as
  4334. the font name.  (gs_fonts.ps)
  4335.  
  4336. To make some questionable Apple font inquiry code work, augments the
  4337. FAKEFONTS facility so that it sets the FontType of fake fonts to 1.
  4338. (gs_fonts.ps)
  4339.  
  4340. Interpreter
  4341. -----------
  4342.  
  4343. Fixes bugs:
  4344.     - .checkpassword, .putdeviceparams, .putdevparams, setsystemparams,
  4345. and setuserparams didn't free the results byte array, causing a memory leak
  4346. (until the next garbage collection).  (zdevice.c, ziodev.c, zusparam.c)
  4347.  
  4348. Library
  4349. -------
  4350.  
  4351. Fixes bugs:
  4352.     - The code for emulating floating point multiplication with
  4353. conversion to fixed point didn't detect overflow correctly, which could
  4354. produce incorrect results instead of a limitcheck.  (gsmisc.c)
  4355.     - A macro cast a pointer incorrectly, leading to spurious compiler
  4356. warnings.  (gxfixed.h)
  4357.     - The code for emulating fixed-to-float conversion computed the
  4358. exponent incorrectly.  (gsmisc.c)
  4359.     - The algorithm for advancing a DDA a given number of steps (not
  4360. actually used anywhere before this version) was wrong.  (gxdda.h)
  4361.     - The clipping box returned by clipping devices was incorrect,
  4362. causing parts of the page to disappear.  (bug introduced in 4.20)
  4363. (gxcpath.c)
  4364.  
  4365. Changes the begin_image and image_data device procedures:
  4366.     - begin_image now takes an optional subrectangle instead of a set of
  4367. shape flags.
  4368.     - image_data now always takes complete rows of pixels, takes a
  4369. source X offset, and returns 1 when it has received all the data.
  4370.  
  4371. The change in begin_image and image_data is a NON-BACKWARD-COMPATIBLE CHANGE
  4372. IN A PUBLIC INTERFACE; however, this interface was still designated "subject
  4373. to change", per the notes for release 3.67 and the documentation in
  4374. drivers.txt.  (gsiparam.h, gxclpath.h, gxdda.h, gxdevice.h, gximage.h,
  4375. gdevbbox.c, gdevnfwd.c, gsimage.c, gxclimag.c, gxclread.c, gximage.c,
  4376. gximage?.c)
  4377.  
  4378. Version 4.21(limited) (10/17/96)
  4379. =====================
  4380.  
  4381. The purpose of this release is to fix bugs reported in 4.0x, 4.10, and 4.20.
  4382.  
  4383. Documentation
  4384. -------------
  4385.  
  4386. Fixes bugs:
  4387.     - The Ghostscript man page had a .TH in the middle.  (gs.1)
  4388.  
  4389. Procedures
  4390. ----------
  4391.  
  4392. Fixes bugs:
  4393.     - The shared version of zlib was always called libgz; on most
  4394. systems, it is now called libz (but not on Red Hat Linux, where libz is a
  4395. library for dealing with time zones).  (*.mak, gs.mak, libpng.mak, zlib.mak)
  4396.     - The pdf2dsc.1 man page wasn't installed on Unix systems.
  4397. (unix-end.mak)
  4398.     - font2c generated procedures named gsf_xxx, but genconf assumed
  4399. they were named gs_f_xxx.  (int.mak)
  4400.  
  4401. Drivers
  4402. -------
  4403.  
  4404. Updates the user-contributed LBP-8II driver to correct unspecified problems.
  4405. (gdevlbp8.c)
  4406.  
  4407. Adds a user-contributed driver for Avance Logic SuperVGA cards.
  4408. (gdevsvga.c, devs.mak)
  4409.  
  4410. Platforms
  4411. ---------
  4412.  
  4413. Fixes bugs:
  4414.     - On Windows NT, a 32-bit parameter was truncated to 16 bits,
  4415. preventing drawing of scroll bars of the image window when the window is
  4416. uncovered.  (dwimg.cpp)
  4417.  
  4418. Fonts
  4419. -----
  4420.  
  4421. Fixes bugs:
  4422.     - The free URW Grotesk and Antiqua fonts were omitted from the
  4423. distribution.
  4424.  
  4425. Interpreter
  4426. -----------
  4427.  
  4428. Fixes bugs:
  4429.     - Defining a new global instance of a built-in resource
  4430. (ColorRendering, ColorSpace, Form, Halftone, Pattern, ProcSet) caused an
  4431. invalidaccess error.  (gs_res.ps)
  4432.     - pathbbox with no current path left an extra item on the stack when
  4433. the error occurred.  (gs_init.ps)
  4434.     - findresource for an undefined resource instance didn't preserve
  4435. the contents of the stack.  (gs_res.ps)
  4436.  
  4437. Adds a new file providing a procedural interface with a very rudimentary
  4438. form of job encapsulation.  (gserver.c)
  4439.  
  4440. Changes the initial value of MaxOpStack to 20000, for the sake of a few
  4441. badly-behaved files.  (gs_init.ps, pdf_base.ps)
  4442.  
  4443. Library
  4444. -------
  4445.  
  4446. Fixes bugs:
  4447.     - If the image operators failed to allocated their bookkeeping
  4448. structure, the result was a crash rather than VMerror.  (gximage.c)
  4449.     - gx_default_fill_triangle (currently used only to implement the
  4450. fastest case of stroke) had a typo that could cause a numeric exception or
  4451. incorrect output, and another typo that could produce incorrect output.
  4452. (gdevddrw.c)
  4453.     - When banding, if the first occurrence of a character fell partly
  4454. off the page, all occurrences of that character on the page could be clipped
  4455. or mangled.  (gxclbits.c, gxclimag.c)
  4456.     - When testing whether it's worthwhile compressing a bitmap for
  4457. banding, the compressor was allowed to generate a lot more output than
  4458. needed to make the test.  (gxclbits.c)
  4459.     - Certain cases of unrotated gray-scale images dropped the first or
  4460. last pixel of each scan line.  (gximage2.c)
  4461.     - In rare cases, a run of pixels in a image could get erroneously
  4462. displayed in the same color as the previous run, because of a cache
  4463. bookkeeping bug.  (gximage3.c)
  4464.     - The sample driver for the library had gotten inconsistent with a
  4465. header file.  (gslib.c)
  4466.     - A declaration was followed by an extraneous semicolon, which upset
  4467. some compilers.  (gxht.h)
  4468.     - Missing parentheses caused a test for thin lines to be incorrect.
  4469. (gxstroke.c)
  4470.  
  4471. Version 4.20(limited) (10/13/96)
  4472. =====================
  4473.  
  4474. This release has internal changes for future support of banded image
  4475. processing, but no externally visible changes.  Its primary purpose is to
  4476. incorporate speedups for clipped images.  It does *not* incorporate fixes
  4477. for all problems reported in 4.0x or 4.10.
  4478.  
  4479. Documentation
  4480. -------------
  4481.  
  4482. Documents the new get_clipping_box device procedure.  (drivers.txt)
  4483.  
  4484. Procedures
  4485. ----------
  4486.  
  4487. Fixes bugs:
  4488.     - There were many, many minor inconsistencies between the makefiles
  4489. and the source code.  (We finally have an automated tool to detect these.)
  4490. (devs.mak, int.mak, lib.mak, unixtail.mak; gsutil.c, zwppm.c)
  4491.     - Some makefile rules weren't properly terminated by a blank line.
  4492. (lib.mak)
  4493.  
  4494. Utilities
  4495. ---------
  4496.  
  4497. Fixes bugs:
  4498.     - The comments in gslp.ps had gotten out of date.  (gslp.ps)
  4499.  
  4500. Adds --no-eject-file and --no-eject-formfeed switches to gslp.ps, to allow
  4501. packing files in multi-column printouts.  (gslp.ps)
  4502.  
  4503. Drivers
  4504. -------
  4505.  
  4506. Adds a user-contributed driver for the Epson LP-8000 laser printer.
  4507. (gdevlp8k.c)
  4508.  
  4509. Adds a DisplayMode parameter to the vgalib device.  (gdevvglb.c)
  4510.  
  4511. Removes the requirement of typing a character at the end of each page using
  4512. the vgalib driver.  THIS IS A USER-VISIBLE, NON-BACKWARD-COMPATIBLE CHANGE.
  4513. (gdevvglb.c)
  4514.  
  4515. Interpreter
  4516. -----------
  4517.  
  4518. Updates code to accommodate the new get_clipping_box device procedure.
  4519. (zupath.c)
  4520.  
  4521. Library
  4522. -------
  4523.  
  4524. Fixes bugs:
  4525.     - When a CTM was passed through the band list, it didn't get
  4526. translated to match the band coordinate system.  (This had no effect,
  4527. because the translation part of the CTM was never used.)  (gxclread.c)
  4528.  
  4529. Adds a ',' debugging switch to disable high-level operations when banding.
  4530. (gxclpath.c)
  4531.  
  4532. Adds an optional get_clipping_box device procedure, so that filling and
  4533. stroking can clip more aggressively.  (gdevmem.h, gdevprn.h, gxdevice.h,
  4534. gxpaint.h, gxpath.h, gzacpath.h, gdevdflt.c, gdevht.c, gdevnfwd.c,
  4535. gxacpath.c, gxclip2.c, gxclist.c, gxcpath.c, gxpcmap.c, gxfill.c,
  4536. gxstroke.c)
  4537.  
  4538. Speeds up clipped filling and stroking, by checking against the device
  4539. clipping box.  (gxfill.c, gxstroke.c)
  4540.  
  4541. Adds the ability to clip with a rectangle a clipping path being accumulated,
  4542. and uses it to do more aggressive clipping when banding.  (gzacpath.h,
  4543. gxacpath.c, gxclread.c)
  4544.  
  4545. Speeds up clipping of objects lying partly above or below the clipping
  4546. region.  (gxcpath.c)
  4547.  
  4548. Speeds up clipping vertically-oriented objects (such as 90 degree rotated
  4549. images or vertical rectangles) with convex clipping regions, by checking for
  4550. vertical rectangles contained in multiple clipping rectangles.  (gxcpath.c)
  4551.  
  4552. Speeds up the handling of 90 degree rotated gray-scale images.  (gximage2.c)
  4553.  
  4554. Enhances the band list so that it can contain commands for a range of bands,
  4555. not just a single band or all bands.  (gxcldev.h, gxclist.h, gxclbits.c,
  4556. gxclist.c, gxclread.c)
  4557.  
  4558. Adds an operation to the DDA structure, for eventual support of clipped
  4559. images.  (gxdda.h)
  4560.  
  4561. Factors out some macros useful for generating bit-transformation tables.
  4562. (gsbittab.h, gsbittab.c, gsflip.c)
  4563.  
  4564. Version 4.10(limited) (9/25/96)
  4565. =====================
  4566.  
  4567. This release adds local garbage collection, and a number of performance
  4568. improvements for garbage collection in general.  We will support it for one
  4569. or two OEMs, but it is not a public release.
  4570.  
  4571. Documentation
  4572. -------------
  4573.  
  4574. Moves documentation for all releases before 4.0 to history3.txt.  (NEWS,
  4575. history3.txt)
  4576.  
  4577. Utilities
  4578. ---------
  4579.  
  4580. Fixes bugs:
  4581.     - pdf2dsc.ps didn't have a proper license notice.  (pdf2dsc.ps)
  4582.  
  4583. Drivers
  4584. -------
  4585.  
  4586. Adds a psgray driver, like psmono, to produce 8-bit gray PostScript (level
  4587. 1) images.  (devs.mak, *.mak, gdevpsim.c)
  4588.  
  4589. Changes the psmono driver to allow runs of up to 255 repeated bytes.
  4590. (gdevpsim.c)
  4591.  
  4592. Interpreter
  4593. -----------
  4594.  
  4595. Fixes bugs:
  4596.     - setdevice erased the page even if this wasn't necessary.
  4597. (zdevice.c)
  4598.  
  4599. Speeds up the garbage collector, primarily by speeding up pointer
  4600. relocation.  (int.mak, ipacked.h, iref.h, ialloc.c, igc.c, igcref.c)
  4601.  
  4602. Actually implements local garbage collection.  (igc.h, ivmspace.h, igc.c,
  4603. igcref.c, igcstr.c, ireclaim.c)
  4604.  
  4605. Adds some additional error checking for the -Z? switch.  (ilocate.c)
  4606.  
  4607. Moves a utility for color mapping from the interpreter to the library.
  4608. (icolor.h, zcolor.c)
  4609.  
  4610. Adds a MinScreenLevels user parameter.  (zusparam.c)
  4611.  
  4612. Interpreter (PDF)
  4613. -----------------
  4614.  
  4615. Adds partial support for the PDF 1.2 gs operator, reverse engineered from a
  4616. PDF 1.2 file.  (pdf_draw.ps)
  4617.  
  4618. Library
  4619. -------
  4620.  
  4621. Fixes bugs:
  4622.     - The test for "thin" stroked lines incorrectly claimed some
  4623. non-thin lines were thin.  (gxstroke.c)
  4624.     - The computations for halftone cells didn't work for non-square
  4625. pixels.  (gxdht.h, gsht.c, gsht1.c, gshtscr.c)
  4626.  
  4627. Speeds up the garbage collector a little.  (gsstruct.h, gxalloc.h,
  4628. gxfcache.h, gsfont.c)
  4629.  
  4630. Replaces references to private statically allocated color spaces with
  4631. references to shared dynamically allocated ones, which are guaranteed to be
  4632. fully filled-in.  (gscie.c)
  4633.  
  4634. Moves a utility for color mapping from the interpreter to the library.
  4635. (gxfmap.h, gxcmap.c)
  4636.  
  4637. Makes available an imager analogue of setmatrix.  (gscoord.h, gscoord.c)
  4638.  
  4639. Adds a parameter to control the minimum number of halftone screen levels.
  4640. If a halftone cell has fewer pixels than this number, it will be replicated
  4641. (similar to what AccurateScreens does) until the replicated screen has
  4642. enough levels.  (gxht.h, gshtscr.c)
  4643.  
  4644. Version 4.03 (9/23/96)
  4645. ============
  4646.  
  4647. This was an emergency re-release of 4.02 to fix the stdin redirection
  4648. problem.  It has essentially no other changes.
  4649.  
  4650. Documentation
  4651. -------------
  4652.  
  4653. Fixes bugs:
  4654.     - Solaris 2.x has /usr/ucb/install, not installbsd.  (make.txt)
  4655.  
  4656. Updates current.txt to mention the ability to share libpng and libgz.
  4657. (current.txt)
  4658.  
  4659. Procedures
  4660. ----------
  4661.  
  4662. Fixes bugs:
  4663.     - A rule assumed that the makefile was named `makefile'.
  4664. (unixtail.mak)
  4665.  
  4666. Drivers
  4667. -------
  4668.  
  4669. Fixes bugs:
  4670.     - The stcolor drivers had an off-by-1 error that could cause them to
  4671. write into unallocated memory.  (gdevstc.c)
  4672.     - The Imagen driver wouldn't compile with gcc.  (gdevimgn.c)
  4673.  
  4674. Fonts
  4675. -----
  4676.  
  4677. Fixes bugs:
  4678.     - The Solaris fontmap had gotten out of date.  (Fontmap.Sol)
  4679.  
  4680. Streams
  4681. -------
  4682.  
  4683. Fixes bugs:
  4684.     - The test for stdin being non-seekable could leave the file error
  4685. flag set, which caused an infinite loop when trying to read from the file
  4686. later.  (sfile.c, sfileno.c)
  4687.  
  4688. Version 4.02 (9/19/96)
  4689. ============
  4690.  
  4691. This release fixes a few more bugs, and adds the ability to read encrypted
  4692. PDF files and some PDF 1.2 files.
  4693.  
  4694. This release was withdrawn after a few days because the stdin redirection
  4695. fix, which was made at the last minute, cause Ghostview to hang.
  4696.  
  4697. Documentation
  4698. -------------
  4699.  
  4700. Fixes bugs:
  4701.     - The list of required support files was incorrect.  (install.txt)
  4702.     - The descriptions of file name lookup weren't accurate.  (use.txt)
  4703.     - A J should have been an H.  (gxbitmap.h)
  4704.  
  4705. Updates the documentation about encrypted PDF files.  (new-user.txt)
  4706.  
  4707. Documents what the 13 base PDF fonts are.  (ps2pdf.txt)
  4708.  
  4709. Fixes a tiny typo.  (c-style.txt)
  4710.  
  4711. Adds a user-contributed man page for the new pdf2dsc script.  (pdf2dsc.1)
  4712.  
  4713. Updates the government restricted rights notice in the Aladdin Ghostscript
  4714. Free Public License.  (PUBLIC)
  4715.  
  4716. Adds the URL of test files to the bug report form.  (new-user.txt)
  4717.  
  4718. Puts the bug reporting form in a separate file.  (readme, bug-form.txt,
  4719. new-user.txt)
  4720.  
  4721. Notes that map_xxx_color procedures should not return gx_no_color_index.
  4722. (drivers.txt)
  4723.  
  4724. Notes that Ghostscript supports the Flate filters.  (language.txt)
  4725.  
  4726. Documents the use of the system libpng and zlib.  (make.txt, gs.mak)
  4727.  
  4728. Notes that Borland C++ 5.0 and 5.01 will not compile Ghostscript correctly.
  4729. (make.txt)
  4730.  
  4731. Procedures
  4732. ----------
  4733.  
  4734. Fixes bugs:
  4735.     - Using both DELAYBIND and SAFER caused problems.  (pstotext uses
  4736. DELAYBIND.)  (gs_init.ps)
  4737.  
  4738. Utilities
  4739. ---------
  4740.  
  4741. Fixes bugs:
  4742.     - Some pdf2ps machinery interfered with the PDF interpreter.
  4743. (pdf_2ps.ps, pdf_main.ps)
  4744.     - In the output of pdf2ps, page numbers in link destinations were
  4745. too high by 1.  (pdf_main.ps)
  4746.     - viewpbm didn't handle value ranges other than [0..255] correctly.
  4747. (viewpbm.ps)
  4748.  
  4749. Adds a user-contributed shell script to invoke pdf2dsc.ps.  (pdf2dsc,
  4750. unix-end.mak)
  4751.  
  4752. Adds a switch to the genconf utility to set the prefix for generated
  4753. procedure names.  (genconf.c)
  4754.  
  4755. Adds the option of using system libraries (possibly shared) for libpng
  4756. and/or zlib.  (*head.mak, msc*.mak, os2.mak, tccommon.mak, wccommon.mak;
  4757. libpng.mak, zlib.mak)
  4758.  
  4759. Drivers
  4760. -------
  4761.  
  4762. Fixes bugs:
  4763.     - The X11 display devices ignored the -DA4 compile-time option.
  4764. (gdevx.c)
  4765.     - The garbage collector could scramble the state of the CGM drivers.
  4766. (gxdevice.h, gdevcgm.c)
  4767.     - An identifier of more than 31 characters upset the VAX DEC C
  4768. compiler.  (gdevcgml.h, gdevcgml.c)
  4769.     - In case of an error in trying to set the CoreDistVersion distiller
  4770. parameter, a variable could be used without initialization.  (gdevpdfp.c)
  4771.     - When DEBUG is selected, the X Windows driver referenced _Xdebug,
  4772. which is not defined in (at least the VMS version of) DECWindows.  (x_.h,
  4773. gdevxini.c)
  4774.     - Some map_cmyk_color implementations could return "transparent".
  4775. (gdevbit.c)
  4776.     - Setting GraphicsAlphaBits or TextAlphaBits in the P*M drivers
  4777. caused an error.  (gdevpbm.c)
  4778.     - If a user cancelled printing under MS Windows, a confusing error
  4779. resulted, and a temporary file wasn't deleted.  (gdevwpr2.c)
  4780.     - The map_color_rgb procedure for the bit devices produced incorrect
  4781. results.  (This probably had no effect in practice.)  (gdevbit.c)
  4782.     - The os2prn device produced incorrect output.  (gdevos2p.c)
  4783.     - The OS/2 PM device didn't detect PM applications correctly.
  4784. (gdevpm.c)
  4785.     - The MS Windows printer driver didn't automatically detect the
  4786. printer's color capabilities.  (gdevwpr2.c)
  4787.     - The BJC-610 driver didn't print at 720 dpi.  (gdevcdj.c)
  4788.     - The static prototypes of many devices didn't include the far_data
  4789. keyword.  (gdev3852.c, gdev4081.c, gdevbgi.c, gdevcgm.c, gdevht.c,
  4790. gdevimgn.c, gdevl256.c, gdevmrop.c, gdevn533.c, gdevnfwd.c, gdevnp6.c,
  4791. gdevo182.c, gdevpcfb.c, gdevpdf.c, gdevpe.c, gdevpm.c, gdevs3ga.c,
  4792. gdevsnfb.c, gdevsppr.c, gdevsun.c, gdevsvga.c, gdevtknk.c, gdevvglb.c,
  4793. gdevwddb.c, gdevwprn.c, gdevx.c, gdevxalt.c)
  4794.     - The (original) deskjet driver collapsed print lines towards the
  4795. left margin.  (gdevdjet.c)
  4796.  
  4797. Adds to the pgm/pgnm/ppm/pnm[raw] drivers the ability to set the maximum
  4798. pixel value, by setting any of the Gray/Red/Green/BlueValues device
  4799. parameters.  (gdevpbm.c)
  4800.  
  4801. Adds pkm[raw] drivers, which do all their internal computations in CMYK and
  4802. convert the data to RGB as they write the file.  (gdevpbm.c)
  4803.  
  4804. Platforms
  4805. ---------
  4806.  
  4807. Fixes bugs:
  4808.     - The VMS script referred to old versions of the third-party
  4809. libraries.  (vms.mak)
  4810.     - Under VMS with DEC C, attempting to open a new file fails.
  4811. (gp_vms.c)
  4812.     - If you tried to print (gp_printfile) under Windows on a system
  4813. with no printers installed, Ghostscript caused a GPF.  (gp_mswin.c)
  4814.  
  4815. Restores support for a non-DLL MS Windows platform.  (bcwin32.mak,
  4816. dwnodll.cpp)
  4817.  
  4818. Adds a new MS Windows DLL call, gsdll_get_bitmap.  (gsdll16.def,
  4819. gsdll32.def, dll.txt, gdevwdib.c)
  4820.  
  4821. Fixes a variety of other small Windows- and OS/2-related problems, mostly
  4822. related to printing.  (gp_mswin.h, dpmainc.c, dwmain.cpp, dwmainc.cpp,
  4823. gdevmswn.c, gdevpm.c, gdevwpr2.c, gp_mswin.c)
  4824.  
  4825. Interpreter
  4826. -----------
  4827.  
  4828. Fixes bugs:
  4829.     - The value of /newerror in $error was true at the end of
  4830. initialization.  We now reset it after each internal use of stopped if
  4831. necessary.  (gs_dps1.ps, gs_fform.ps, gs_fonts.ps, gs_init.ps, gs_pdf.ps,
  4832. gs_res.ps, gs_type1.ps)
  4833.     - setpagedevice (and finddevice) didn't recognize Default.
  4834. (gs_init.ps)
  4835.     - When running with -dNODISPLAY, calling gssetresolution would cause
  4836. a crash.  (gs_init.ps)
  4837.     - A particular combination of save, .forgetsave, and garbage
  4838. collection could cause a memory access error in restore.  (isave.c)
  4839.     - Some references to systemdict were affected if a user redefined
  4840. the name /systemdict.  (gs_cmdl.ps, gs_fonts.ps, gs_kanji.ps, gs_dps1.ps,
  4841. gs_init.ps, gs_res.ps, gs_statd.ps, gs_type1.ps)
  4842.     - The insideness testing operators caused an invalid memory access.
  4843. (drivers.txt, zupath.c)
  4844.     - If a readline reached an input buffer boundary between the \r and
  4845. \n of a 2-character EOL, an error could occur.  (zfileio.c)
  4846.     - setdevparams caused an error.  (gs_lev2.ps)
  4847.  
  4848. Changes file names beginning with ./ or ../ so they are recognized as
  4849. "absolute" and not subject to the search path.  (gp_dosfs.c, gp_ntfs.c,
  4850. gp_os2.c, gp_unifn.c)
  4851.  
  4852. Changes the exit code for -h or --help from 0 to 1, so an invoking program
  4853. will keep the output around for the user to look at.  (imainarg.c)
  4854.  
  4855. Adds the FlateEncode and FlateDecode filters; adds PNG pixel prediction to
  4856. the LZW filters.  These additions are required for PDF 1.2 and will be part
  4857. of PostScript Level 3.  (int.mak, lib.mak, zfdecode.c, zfilter2.c, zfzlib.c,
  4858. zfpngp.c [deleted])
  4859.  
  4860. Interpreter (PDF)
  4861. -----------------
  4862.  
  4863. Fixes bugs:
  4864.     - The copyright notices on some files didn't mention the Aladdin
  4865. free license.  (pdf_*.ps)
  4866.     - Some references to systemdict were affected if a user redefined
  4867. the name /systemdict.  (pdf_font.ps)
  4868.     - The value of /newerror in $error was true at the end of
  4869. initialization.  We now reset it after each internal use of stopped if
  4870. necessary.  (pdf_main.ps)
  4871.     - stdin redirection failed for PDF files even if the new stdin was
  4872. seekable.  (pdf_main.ps)
  4873.     - The Rotate key rotated pages in the wrong direction.
  4874. (pdf_main.ps)
  4875.  
  4876. Adds a minimal "security socket" to the interpreter.  This does not include
  4877. any actual decryption code; such code is available elsewhere (see
  4878. new-user.txt).  (int.mak, pdf_base.ps, pdf_main.ps, pdf_sec.ps)
  4879.  
  4880. Adds a PDF 1.2 capability:
  4881.     - The destination in a Dest array can be a page number as well as a
  4882. page object.  (pdf_main.ps)
  4883.  
  4884. Streams
  4885. -------
  4886.  
  4887. Fixes bugs:
  4888.     - stdin was assumed to be non-seekable.  (sfile.c, sfileno.c)
  4889.  
  4890. Library
  4891. -------
  4892.  
  4893. Fixes bugs:
  4894.     - Garbage collection could corrupt a pointer in Type 0 fonts.
  4895. (gxfont0.h, gsfont0.c)
  4896.     - When applying hints to a Type 1 font outline, the last point could
  4897. sometimes get moved twice, causing output anomalies.  (gxhint3.c)
  4898.     - An #include needed for debugging was missing.  (gxcmap.h)
  4899.     - Graphics states included a no-longer-used private color space
  4900. object.  (gsstate.c)
  4901.     - Images could get clipped randomly in the X direction.  (I don't
  4902. understand why this problem hasn't shown up more often, since it's been
  4903. there since release 4.00.)  (gximage.c)
  4904.     - The arct and arcto operators failed to draw the line to the
  4905. starting point of the arc.  (bug introduced in 4.01) (gspath1.c)
  4906.     - Prefix subclasses of simple structures caused an invalid memory
  4907. access.  (gsstruct.h)
  4908.     - The variable fheight was sometimes unused.  (gstype1.c)
  4909.     - igcd and imod didn't have prototypes in an appropriate header
  4910. file, and were declared extern in several places.  (gsdcolor.h, gsline.h,
  4911. gxarith.h, gxdht.h, gsht.c, gshtscr.c, gsimage.c, gsline.c, gstype1.c,
  4912. gxclimag.c)
  4913.     - When using a non-identity RenderTable in a CIE rendering
  4914. dictionary, all colors came out too light.  (gscie.c)
  4915.     - When using anti-aliased graphics, stroked lines were rendered too
  4916. thin.  (gspaint.c)
  4917.     - The default map_cmyk_color implementations could return
  4918. "transparent".  (gxcmap.c)
  4919.     - The number of bits of alpha requested when rendering anti-aliased
  4920. characters could exceed 4.  (gschar.c)
  4921.     - Multi-screen halftones could cause errors or infinite looping when
  4922. banding.  (This problem predates 4.0; I don't know why it didn't show up
  4923. before.)  (gxcldev.h, gxclist.c, gxclread.c)
  4924.     - Skewed or rotated gray-scale images, or masks with a halftoned
  4925. color, omitted one line of pixels and displaced the image by one pixel.
  4926. (gximage2.c)
  4927.  
  4928. Adds an implementation of realloc, for systems that don't have one that
  4929. works.  I don't know how to determine this automatically, so for the moment,
  4930. the code uses our own implementation on Linux (where realloc is known to be
  4931. broken, at least in some releases) and nowhere else.  (malloc_.h,
  4932. gsmemory.c, gsmisc.c)
  4933.  
  4934. Removes the "OLD" algorithms from the Type 1 hinting source code, since they
  4935. are no longer executed.  (If necessary, they can be retrieved from an older
  4936. version.)  (gxhint3.c)
  4937.  
  4938. Version 4.01 (7/10/96)
  4939. ============
  4940.  
  4941. This fixes a few minor bugs discovered since the 4.0 release.
  4942.  
  4943. Documentation
  4944. -------------
  4945.  
  4946. Fixes bugs:
  4947.     - An installation directory name was wrong.  (make.txt,
  4948. unix-lpr.txt)
  4949.     - A URL was wrong.  (devices.txt)
  4950.     - A reference to use.doc hadn't been updated.  (gs.1)
  4951.     - Some references to /usr/local/lib hadn't been updated.  (gs.1)
  4952.     - The NEWS file and history* files still referred to *.doc rather
  4953. than *.txt.  (NEWS, history*.txt)
  4954.  
  4955. Adds a note about compilation on Digital Unix.  (make.txt)
  4956.  
  4957. Clarifies that calling gs_exit calls gs_finit automatically.  (imain.h)
  4958.  
  4959. Adds a pointer to the PDF encryption patch.  (Ridiculous U.S. export control
  4960. laws don't allow including the patch itself in the main fileset.)
  4961. (new-user.txt)
  4962.  
  4963. Adds a help file for VMS.  (gs-vms.hlp)
  4964.  
  4965. Procedures
  4966. ----------
  4967.  
  4968. Fixes bugs:
  4969.     - vms.mak had gotten out of sync with the makefiles (again).
  4970. (vms.mak)
  4971.     - DEVICE{WIDTH,HEIGHT}POINTS didn't override PAPERSIZE.
  4972. (gs_init.ps)
  4973.     - The Microsoft C makefiles had gotten out of date.  (msc.mak)
  4974.  
  4975. The (few) GNU-Licensed drivers were accidentally omitted from the fileset.
  4976.  
  4977. Modifies a makefile for greater reusability.  (watclib.mak)
  4978.  
  4979. Adds a 'debug' target for making Unix debugging configurations.
  4980. (unix-end.mak)
  4981.  
  4982. Utilities
  4983. ---------
  4984.  
  4985. Fixes bugs:
  4986.     - Some uses of 'run' should be changed to runlibfile.  (bdftops.ps,
  4987. impath.ps, markhint.ps, packfile.ps, showchar.ps, waterfal.ps, wftopfa.ps,
  4988. wrfont.ps)
  4989.     - Some debugging code hadn't been removed.  (gslp.ps)
  4990.  
  4991. Adds a new utility, viewcmyk.ps, for viewing 4-bit CMYK data.  (psfiles.txt,
  4992. unix-end.mak, viewcmyk.ps)
  4993.  
  4994. Improves pdf2dsc by including Title and CreationDate DSC comments (these are
  4995. displayed by Ghostview) and reducing the size of typical output files by a
  4996. factor of about 3.  (pdf2dsc.ps)
  4997.  
  4998. Incorporates major changes (claimed to be improvements) to ps2ascii
  4999. contributed by a user.  If you have problems with it, please contact him,
  5000. not Aladdin.  (ps2ascii.ps)
  5001.  
  5002. Platforms
  5003. ---------
  5004.  
  5005. Fixes bugs:
  5006.     - The X value of a bounding box could be computed incorrectly.
  5007. (gdevbbox.c)
  5008.  
  5009. Platforms
  5010. ---------
  5011.  
  5012. Fixes bugs:
  5013.     - The Windows DLL sometimes didn't clean up properly.  (dll.txt,
  5014. dpmainc.c, dwdll.cpp, dwmain.cpp, dwmainc.cpp, gsdll.c, gsdll.h)
  5015.  
  5016. Interpreter
  5017. -----------
  5018.  
  5019. Fixes bugs:
  5020.     - Reading from a filter could hang forever, because a buffer was
  5021. allocated 1 byte too small.  (zfilter.c)
  5022.     - The search path could become garbage under some circumstances.
  5023. (imain.c)
  5024.     - A dangling reference to a stack-allocated variable could corrupt
  5025. memory if a client mixed interpreter calls and direct C calls.  (interp.c)
  5026.     - Printing an object to a procedure-based filter could cause an
  5027. invalid memory access.  (zfileio.c)
  5028.  
  5029. Library
  5030. -------
  5031.  
  5032. Fixes bugs:
  5033.     - Setting parameters for an unopened device could cause an access
  5034. error or invoke the wrong put_params procedure.  (gsdparam.c)
  5035.     - Reading from a filter could hang forever, because a buffer was
  5036. allocated 1 byte too small.  (stream.h)
  5037.     - If the current device was the nullpage device, doing a [g]save,
  5038. selecting a different device, and doing a [g]restore caused an error.
  5039. (gsdparam.c)
  5040.  
  5041. Adds the ability to append arcs without the initial lineto, for PCL
  5042. emulation.  (gspath.h, gspath1.c)
  5043.  
  5044. Version 4.0 (6/28/96)
  5045. ===========
  5046.  
  5047. This is the first public release since 3.53, with a few more last-minute
  5048. patches beyond 3.70.
  5049.  
  5050. Documentation
  5051. -------------
  5052.  
  5053. Fixes bugs:
  5054.     - Many makefiles still referred to .doc files rather than .txt.
  5055. (cfonts.mak, devs.mak, gs.mak, int.mak, libpng.mak, unix-end.mak, watc.mak,
  5056. watcwin.mak, wccommon.mak, zlib.mak)
  5057.     - Some FONTPATH-related information was out of date.  (use.txt)
  5058.     - The installation directory for fonts was incorrect.  (install.txt)
  5059.     - The libpng and zlib versions were out of date.  (libpng.mak,
  5060. zlib.mak)
  5061.     - Some information about GSview was incorrect or incomplete.
  5062. (new-user.txt)
  5063.     - make.txt said it described installation as well as building.
  5064. (make.txt)
  5065.  
  5066. Notes that the current release of zlib won't compile and link correctly with
  5067. Sun cc.  (make.txt)
  5068.  
  5069. Adds a little more detail to the C style document.  (c-style.txt)
  5070.  
  5071. Procedures
  5072. ----------
  5073.  
  5074. Fixes bugs:
  5075.     - Some documentation files weren't installed.  (unix-end.mak)
  5076.     - Some dependencies were incorrect.  (bcwin32.mak)
  5077.     - 'make begin' and 'make clean' deleted too many and/or the wrong
  5078. files.  (bcwin.mak, bcwin32.mak)
  5079.     - libpng.mak didn't work with libpng version 0.89c.  (libpng.mak)
  5080.     - -d<var>=<name> was equivalent to -d<var>=/<name>, and there was no
  5081. way to set a variable to true, false, or null.  (use.txt, gs_init.ps,
  5082. iinit.c, imainarg.c)
  5083.  
  5084. Removes the modules.lis file, which is no longer used.
  5085.  
  5086. Undoes detecting automatically the need to run tar_cat -- the mechanism
  5087. didn't work, and caused confusion.  (unix-end.mak)
  5088.  
  5089. Updates the makefiles to libpng version 0.89, but allows them to work with
  5090. either 0.88 or 0.89.  (*.mak)
  5091.  
  5092. Utilities
  5093. ---------
  5094.  
  5095. Fixes bugs:
  5096.     - Showing the details of a protected font caused an error.
  5097. (markhint.ps)
  5098.  
  5099. Drivers
  5100. -------
  5101.  
  5102. Fixes bugs:
  5103.     - A copyright notice was wrong.  (gs_pdfwr.ps)
  5104.     - PDF link annotations could get written with two Dest keys.
  5105. (gdevpdfm.c)
  5106.     - MakeProcInstance and FreeProcInstance were called on platforms
  5107. where it wasn't appropriate.  (gdevwpr2.c, gdevwprn.c, gp_mswin.c)
  5108.     - On X servers that return very large values for the "virtual
  5109. screen" size in millimeters but correct values for the screen size in
  5110. pixels, a rangecheck could occur.  (gdevxini.c)
  5111.     - The bounding box device could return garbage if stroke or fill was
  5112. ever invoked with an empty path.  (gdevbbox.c)
  5113.  
  5114. Replaces the LBP8 driver with a revised one contributed by a user.
  5115. (gdevlbp8.c, devs.mak)
  5116.  
  5117. Platforms
  5118. ---------
  5119.  
  5120. Fixes bugs:
  5121.     - Some Windows menu parameters were incorrect.  (gsdll16.rc,
  5122. gsdll32.rc)
  5123.  
  5124. Interpreter
  5125. -----------
  5126.  
  5127. Fixes bugs:
  5128.     - .getdevparams sometimes returned duplicate entries for /Type.
  5129. (ziodev2.c)
  5130.     - File names weren't parsed or concatenated properly on all
  5131. platforms.  (gs_fonts.ps, zfile.c)
  5132.     - Filter lookahead caused problems with special files.  (zfproc.c)
  5133.     - If a TransformPQR procedure in a CIE color rendering dictionary
  5134. didn't pop its 4 array arguments, an error occurred.  (gs_lev2.ps, zcrd.c)
  5135.  
  5136. Streams
  5137. -------
  5138.  
  5139. Fixes bugs:
  5140.     - Filter lookahead caused problems with special files.  (bug
  5141. introduced in 3.70) (stream.h)
  5142.  
  5143. Library
  5144. -------
  5145.  
  5146. Fixes bugs:
  5147.     - .getdevparams sometimes returned duplicate entries for /Type.
  5148. (gxiodev.h, gsiodev.c)
  5149.  
  5150. Versions before 4.0
  5151. ===================
  5152.  
  5153. See the files history3.txt, history2.txt, and history1.txt.
  5154.